diff options
author | 2022-06-22 17:31:00 +0100 | |
---|---|---|
committer | 2022-06-22 18:03:35 +0000 | |
commit | 6b4805b9495e54b00c5d2cf316ef4f85b6526e55 (patch) | |
tree | 7e7ee7b644e17499b02ff1b2436949de565b9caa | |
parent | 7bf7220b44d733f6a7434ee0aab86b710d4219bf (diff) |
Reduce timeout for 719-varhandle-concurrency
Bug: 235431387
Test: art/test/testrunner/testrunner.py -t 719-varhandle-concurrency
Change-Id: I4d7b7f498f6c48c1a382cef8bc3e5aff4fdd00ef
-rw-r--r-- | test/719-varhandle-concurrency/src/Main.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/719-varhandle-concurrency/src/Main.java b/test/719-varhandle-concurrency/src/Main.java index f89a0bb867..577cdbf07e 100644 --- a/test/719-varhandle-concurrency/src/Main.java +++ b/test/719-varhandle-concurrency/src/Main.java @@ -46,7 +46,8 @@ public class Main { * for example with gcstress, set a cap duration in MAX_RETRIES_DURATION. With this at least one * iteration would run, but there could be fewer retries if each of them takes too long. */ private static final int RETRIES = 50; - private static final Duration MAX_RETRIES_DURATION = Duration.ofMinutes(1); + // b/235431387: timeout reduced from 1 minute + private static final Duration MAX_RETRIES_DURATION = Duration.ofSeconds(15); public static void main(String[] args) throws Throwable { testConcurrentProcessing(new CompareAndExchangeRunnerFactory(), "compareAndExchange"); |