Further tweaking of test timeouts
Increase one timeout, restore others that were only timing out due to the Java crypto lib bug to their original values. -DOUBLE timeout for NanoSchedulerUnitTest.testNanoSchedulerInLoop() -REDUCE timeout for EngineFeaturesIntegrationTest to its original value -REDUCE timeout for MaxRuntimeIntegrationTest to its original value -REDUCE timeout for GATKRunReportUnitTest to its original value
This commit is contained in:
parent
e681df68c9
commit
742a7651e9
|
|
@ -117,7 +117,7 @@ public class EngineFeaturesIntegrationTest 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 = "EngineErrorHandlingTestProvider", timeOut = 300 * 1000 )
|
@Test(enabled = true, dataProvider = "EngineErrorHandlingTestProvider", timeOut = 60 * 1000 )
|
||||||
public void testEngineErrorHandlingTestProvider(final EngineErrorHandlingTestProvider cfg) {
|
public void testEngineErrorHandlingTestProvider(final EngineErrorHandlingTestProvider cfg) {
|
||||||
for ( int i = 0; i < cfg.iterationsToTest; i++ ) {
|
for ( int i = 0; i < cfg.iterationsToTest; i++ ) {
|
||||||
final String root = "-T ErrorThrowing -R " + exampleFASTA;
|
final String root = "-T ErrorThrowing -R " + exampleFASTA;
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,7 @@ import java.util.concurrent.TimeUnit;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MaxRuntimeIntegrationTest extends WalkerTest {
|
public class MaxRuntimeIntegrationTest extends WalkerTest {
|
||||||
// Assume a ridiculous amount of startup overhead to allow for running these tests on slow farm nodes
|
private static final long STARTUP_TIME = TimeUnit.NANOSECONDS.convert(20, TimeUnit.SECONDS);
|
||||||
private static final long STARTUP_TIME = TimeUnit.NANOSECONDS.convert(300, TimeUnit.SECONDS);
|
|
||||||
|
|
||||||
private class MaxRuntimeTestProvider extends TestDataProvider {
|
private class MaxRuntimeTestProvider extends TestDataProvider {
|
||||||
final long maxRuntime;
|
final long maxRuntime;
|
||||||
|
|
@ -69,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 = 600 * 1000)
|
@Test(enabled = true, dataProvider = "MaxRuntimeProvider", timeOut = 60 * 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
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ public class NanoSchedulerUnitTest extends BaseTest {
|
||||||
nanoScheduler.shutdown();
|
nanoScheduler.shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(enabled = true && ! DEBUG, dataProvider = "NanoSchedulerBasicTest", dependsOnMethods = "testMultiThreadedNanoScheduler", timeOut = NANO_SCHEDULE_MAX_RUNTIME)
|
@Test(enabled = true && ! DEBUG, dataProvider = "NanoSchedulerBasicTest", dependsOnMethods = "testMultiThreadedNanoScheduler", timeOut = 2 * NANO_SCHEDULE_MAX_RUNTIME)
|
||||||
public void testNanoSchedulerInLoop(final NanoSchedulerBasicTest test) throws InterruptedException {
|
public void testNanoSchedulerInLoop(final NanoSchedulerBasicTest test) throws InterruptedException {
|
||||||
if ( test.bufferSize > 1) {
|
if ( test.bufferSize > 1) {
|
||||||
logger.warn("Running " + test);
|
logger.warn("Running " + test);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue