mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
avoid a hang
This commit is contained in:
1 parent
82ded4d675
commit
a6520d813e
1 file changed
+4
@@ -1457,6 +1457,10 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
public void contextReleased(Context cx) {
|
||||
}
|
||||
});
|
||||
|
||||
// avoid a hang by setting a time out. It should be long enough to prevent
|
||||
// false-positive timeout on slow systems
|
||||
setTimeout(60*1000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user