From 03b448805427a20ef080d09e6cefaa9b928e3d7e Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 22 Dec 2009 17:22:10 +0000 Subject: [PATCH] increasing the time out as I'm seeing errors like this, which is legitimate: java.lang.AssertionError: Hudson is still doing something after 30000ms: queue=[] building=[snap-dep-test-down #2] at org.jvnet.hudson.test.HudsonTestCase.waitUntilNoActivityUpTo(HudsonTestCase.java:801) at org.jvnet.hudson.test.HudsonTestCase.waitUntilNoActivity(HudsonTestCase.java:772) at hudson.maven.MavenSnapshotTriggerTest.testMixedTransitiveSnapshotTrigger(MavenSnapshotTriggerTest.java:69) at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:310) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:100) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:51) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24847 71c3de6d-444a-0410-be80-ed276b4c234a --- test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java index 0d4a924e46..92d272e2b8 100644 --- a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java +++ b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java @@ -769,7 +769,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction { * This method uses a default time out to prevent infinite hang in the automated test execution environment. */ protected void waitUntilNoActivity() throws Exception { - waitUntilNoActivityUpTo(30*1000); + waitUntilNoActivityUpTo(60*1000); } /**