Bump timeout for MaxRuntimeIntegrationTest

Looks like returning this timeout to its original value was a
bit too aggressive -- adding 40 seconds to the tolerance limit.
This commit is contained in:
David Roazen 2013-03-17 16:17:29 -04:00
parent a67aae0261
commit a67d8c8dd6
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ import java.util.concurrent.TimeUnit;
* *
*/ */
public class MaxRuntimeIntegrationTest extends WalkerTest { public class MaxRuntimeIntegrationTest extends WalkerTest {
private static final long STARTUP_TIME = TimeUnit.NANOSECONDS.convert(20, TimeUnit.SECONDS); private static final long STARTUP_TIME = TimeUnit.NANOSECONDS.convert(60, TimeUnit.SECONDS);
private class MaxRuntimeTestProvider extends TestDataProvider { private class MaxRuntimeTestProvider extends TestDataProvider {
final long maxRuntime; final long maxRuntime;
@ -68,7 +68,7 @@ public class MaxRuntimeIntegrationTest extends WalkerTest {
// //
// Loop over errors to throw, make sure they are the errors we get back from the engine, regardless of NT type // Loop over errors to throw, make sure they are the errors we get back from the engine, regardless of NT type
// //
@Test(enabled = true, dataProvider = "MaxRuntimeProvider", timeOut = 60 * 1000) @Test(enabled = true, dataProvider = "MaxRuntimeProvider", timeOut = 120 * 1000)
public void testMaxRuntime(final MaxRuntimeTestProvider cfg) { public void testMaxRuntime(final MaxRuntimeTestProvider cfg) {
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec( WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
"-T PrintReads -R " + hg18Reference "-T PrintReads -R " + hg18Reference