Skip to content

Commit 204a037

Browse files
authored
Increase timeouts to handle AWS slowness (#592)
1 parent 51188c7 commit 204a037

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/io/jenkins/plugins/pipelinegraphview/utils/PipelineStepApiTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ public void gh362_stepsBeforeStepBlockGetValidStatus() throws Exception {
546546

547547
Map<String, List<Long>> checks = new LinkedHashMap<>();
548548
// Give large ranges - we are testing that the values are feasible, not that they are precise.
549-
checks.put("Hello World", Arrays.asList(100L, 0L, 0L, 5000L, 500L, 500L));
550-
checks.put("1", Arrays.asList(100L, 0L, 10L, 5000L, 1500L, 1500L));
551-
checks.put("Goodbye World", Arrays.asList(0L, 0L, 0L, 5000L, 500L, 500L));
549+
checks.put("Hello World", Arrays.asList(100L, 0L, 0L, 10000L, 1000L, 1000L));
550+
checks.put("1", Arrays.asList(100L, 0L, 10L, 10000L, 3000L, 3000L));
551+
checks.put("Goodbye World", Arrays.asList(0L, 0L, 0L, 10000L, 1000L, 1000L));
552552
for (AbstractPipelineNode n : finishedSteps) {
553553
assertThat(checks, hasEntry(is(n.getName()), notNullValue()));
554554
TestUtils.assertTimesInRange(n, checks.get(n.getName()));

0 commit comments

Comments
 (0)