summaryrefslogtreecommitdiffstats
path: root/test/114-ParallelGC
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-15 08:02:22 -0800
committerAndreas Gampe <agampe@google.com>2015-01-15 08:04:03 -0800
commitee576fa06302dca086a69d777d1f4a914bbd921d (patch)
treed373ebb121fca4c1506340d4e11cc36d1d5801ec /test/114-ParallelGC
parente81e1cd75b7dc6e44c5654e3ae329e86662ca02b (diff)
downloadart-ee576fa06302dca086a69d777d1f4a914bbd921d.tar.gz
art-ee576fa06302dca086a69d777d1f4a914bbd921d.tar.bz2
art-ee576fa06302dca086a69d777d1f4a914bbd921d.zip
ART: Increase run-test 114 Java-level timeout
Increase the timeout to be larger than the run-test timeout. That way ART will dump all threads when running the test on the host. Change-Id: I842b056bba650e5c7c3293376a48d48b7468e73d
Diffstat (limited to 'test/114-ParallelGC')
-rw-r--r--test/114-ParallelGC/src/Main.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/114-ParallelGC/src/Main.java b/test/114-ParallelGC/src/Main.java
index 8e2519dd0a..963fdac45d 100644
--- a/test/114-ParallelGC/src/Main.java
+++ b/test/114-ParallelGC/src/Main.java
@@ -24,7 +24,10 @@ import java.util.concurrent.TimeoutException;
public class Main implements Runnable {
- public final static long TIMEOUT_VALUE = 5; // Timeout in minutes.
+ // Timeout in minutes. Make it larger than the run-test timeout to get a native thread dump by
+ // ART on timeout when running on the host.
+ public final static long TIMEOUT_VALUE = 7;
+
public final static long MAX_SIZE = 1000; // Maximum size of array-list to allocate.
public static void main(String[] args) throws Exception {