Skip to content

Commit 482246d

Browse files
authored
increase timeout (#136)
This plugin isn't passing with a BOM build since moving to AWS. When testing locally, the test: `mvn clean -Dtest=AbortAndRestartOperationTest verify` runs fine. However, if I change the timeout from 25 to 23, the local test fails. My guess is that the AWS infra is running slower than the Azure infra, therefore causing the test to fail. Also, it sort of makes sense that since the `once` version of the test is 25 seconds, the `twice` version of the test "should be"/"its ok" to be 50 seconds.
1 parent cb8b4f2 commit 482246d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/hudson/plugins/build_timeout/operations/AbortAndRestartOperationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void abortAndRestartTwice(JenkinsRule j) throws Exception {
9494

9595
testproject.scheduleBuild(new Cause.UserIdCause());
9696

97-
j.waitUntilNoActivityUpTo(25000);
97+
j.waitUntilNoActivityUpTo(50000);
9898

9999
assertNotNull(testproject.getFirstBuild());
100100
assertFalse(testproject.getFirstBuild().equals(testproject.getLastBuild()));

0 commit comments

Comments
 (0)