Skip to content

Commit

Permalink
Adjust expected value for TASK_ID for test to pass. Unsure why.
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Oct 30, 2023
1 parent 8729fe9 commit 1fff555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/hudson/plugins/batch_task/BatchTaskTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public void testExecute() throws Exception {
assertEquals("Cause type", UserCause.class.getName(),
ca.getCauses().get(0).getClass().getName());
String log = Util.loadFile(run.getLogFile());
assertTrue("Expected 1-1:global-property:bar:anonymous in task output: " + log,
log.contains("1-1:global-property:bar:anonymous"));
assertTrue("Expected 2-1:global-property:bar:anonymous in task output: " + log,
log.contains("2-1:global-property:bar:anonymous"));
}

/**
Expand Down

0 comments on commit 1fff555

Please sign in to comment.