Skip to content
Permalink
Browse files

[JENKINS-10615] AbstractProjectTest.testWorkspaceLock frequently fail…

…s on jenkins.ci due to InterruptedException in HudsonTestCase.setUp.

Possibly because it is sorted after [JENKINS-15156] testGetBuildAfterGC and the test suite times out.

(cherry picked from commit 85e9e12)
  • Loading branch information
jglick committed Dec 11, 2013
1 parent 47c254a commit 389a565de417170f586830ee9fa7a7ec9749fc68
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/src/test/groovy/hudson/model/AbstractProjectTest.groovy
@@ -275,6 +275,7 @@ public class AbstractProjectTest extends HudsonTestCase {
assertSymlinkForBuild(lastStable, 1);
}

/* TODO too slow, seems capable of causing testWorkspaceLock to time out:
@Bug(15156)
public void testGetBuildAfterGC() {
FreeStyleProject job = createFreeStyleProject();
@@ -283,6 +284,7 @@ public class AbstractProjectTest extends HudsonTestCase {
MemoryAssert.assertGC(new WeakReference(job.getLastBuild()));
assert job.lastBuild != null;
}
*/

@Bug(13502)
public void testHandleBuildTrigger() {

0 comments on commit 389a565

Please sign in to comment.
You can’t perform that action at this time.