diff options
author | Brian Carlstrom <bdc@google.com> | 2011-10-14 17:41:32 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2011-10-14 17:41:32 -0700 |
commit | 513ac78ca8aaeb61fa06928ca10aeff34a7b4683 (patch) | |
tree | 2c1fa1de96e207469d07f5b02672370b7950c590 /support | |
parent | ba6dde5853945ab18f713d8f818506bd501e2ab2 (diff) | |
download | libcore-513ac78ca8aaeb61fa06928ca10aeff34a7b4683.zip libcore-513ac78ca8aaeb61fa06928ca10aeff34a7b4683.tar.gz libcore-513ac78ca8aaeb61fa06928ca10aeff34a7b4683.tar.bz2 |
Set ANDROID_DATA for DalvikExecTest
Also increase timeout to allow for dexopt of BOOTCLASSPATH
Bug: 5310023
Change-Id: Icaa81a3bb3cea10c610e6ad671a001f6dbfeda17
Diffstat (limited to 'support')
-rw-r--r-- | support/src/test/java/tests/support/Support_Exec.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/src/test/java/tests/support/Support_Exec.java b/support/src/test/java/tests/support/Support_Exec.java index 124dcdc..0502b9c 100644 --- a/support/src/test/java/tests/support/Support_Exec.java +++ b/support/src/test/java/tests/support/Support_Exec.java @@ -77,7 +77,7 @@ public class Support_Exec extends TestCase { * standard err, and returns. If the stream emits anything to standard err, * an AssertionFailedError will be thrown. * - * <p>This method assumes the target process will complete within ten + * <p>This method assumes the target process will complete within thirty * seconds. If it does not, an AssertionFailedError will be thrown. */ public static String execAndGetOutput(ProcessBuilder builder) throws IOException { @@ -92,8 +92,8 @@ public class Support_Exec extends TestCase { Throwable failure; String out = ""; try { - out = outFuture.get(10, TimeUnit.SECONDS); - String err = errFuture.get(10, TimeUnit.SECONDS); + out = outFuture.get(30, TimeUnit.SECONDS); + String err = errFuture.get(30, TimeUnit.SECONDS); failure = err.length() > 0 ? new AssertionFailedError("Unexpected err stream data:\n" + err) : null; |