Reduce timeout for 719-varhandle-concurrency
Bug: 235431387
Test: art/test/testrunner/testrunner.py -t 719-varhandle-concurrency
Change-Id: I4d7b7f498f6c48c1a382cef8bc3e5aff4fdd00ef
diff --git a/test/719-varhandle-concurrency/src/Main.java b/test/719-varhandle-concurrency/src/Main.java
index f89a0bb..577cdbf 100644
--- a/test/719-varhandle-concurrency/src/Main.java
+++ b/test/719-varhandle-concurrency/src/Main.java
@@ -46,7 +46,8 @@
* 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");