diff options
Diffstat (limited to 'test/719-varhandle-concurrency/src/Main.java')
-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 1c2135bf7d..784e7cc103 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"); |