From f92328a1a1d5fc411c263e804120a6b49f9bf90b Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Wed, 13 Feb 2013 17:43:30 -0800 Subject: [PATCH] Extend default timeout to 20 minutes -- The default of 10 minutes is right on the edge for some tests, and we really want a default not to enforce a max time (test should be short) but to stop testng from failing to terminate ever in the case where some test is truly hung --- .../test/org/broadinstitute/sting/TestNGTestTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/java/test/org/broadinstitute/sting/TestNGTestTransformer.java b/public/java/test/org/broadinstitute/sting/TestNGTestTransformer.java index e477bbe47..362d409cb 100644 --- a/public/java/test/org/broadinstitute/sting/TestNGTestTransformer.java +++ b/public/java/test/org/broadinstitute/sting/TestNGTestTransformer.java @@ -44,7 +44,7 @@ import java.lang.reflect.Method; * @version 0.1 */ public class TestNGTestTransformer implements IAnnotationTransformer { - public static final long DEFAULT_TIMEOUT = 1000 * 60 * 10; // 10 minutes max per test + public static final long DEFAULT_TIMEOUT = 1000 * 60 * 20; // 20 minutes max per test final static Logger logger = Logger.getLogger(TestNGTestTransformer.class);