Skip to content

Commit

Permalink
Update failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hkarthik7 committed Feb 7, 2022
1 parent 0217a69 commit a26943a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azd/src/test/java/org/azd/PipelinesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public void init() throws AzDException {

@Test
public void shouldGetArtifacts() throws AzDException {
p.getArtifacts(8, 676, "drop");
p.getArtifacts(8, 661, "drop");
}

@Test
public void shouldGetArtifactsWithContentsExpanded() throws AzDException {
// String url = p.getArtifacts(8, 531, "drop", PipelinesArtifactExpandOptions.SIGNEDCONTENT).getSignedContent().getUrl();
// new FileOutputStream("drop.zip").getChannel().transferFrom(Channels.newChannel(
// new URL(url).openStream()), 0, Long.MAX_VALUE);
p.getArtifacts(8, 676, "drop", PipelinesExpandOptions.SIGNEDCONTENT);
p.getArtifacts(8, 661, "drop", PipelinesExpandOptions.SIGNEDCONTENT);
}

@Test
Expand All @@ -51,17 +51,17 @@ public void shouldGetPipelines() throws AzDException {

@Test
public void shouldGetPipelineLog() throws AzDException {
p.getPipelineLog(8, 676, 1);
p.getPipelineLog(8, 661, 1);
}

@Test
public void shouldGetPipelineLogWithOptions() throws AzDException {
p.getPipelineLog(8, 676, 1, PipelinesExpandOptions.SIGNEDCONTENT);
p.getPipelineLog(8, 661, 1, PipelinesExpandOptions.SIGNEDCONTENT);
}

@Test
public void shouldGetPipelineLogs() throws AzDException {
p.getPipelineLogs(8, 676);
p.getPipelineLogs(8, 661);
}

// Should throw PipelineExistsException;
Expand Down

0 comments on commit a26943a

Please sign in to comment.