Skip to content

Commit 54843b7

Browse files
author
Daniel D. Daugherty
committed
8290211: jdk/internal/vm/Continuation/Fuzz.java failed with "AssertionError: Failed to compile int Fuzz.com_int(int,int) in 5000ms"
Reviewed-by: lmesnik, alanb, jiefu
1 parent 8a0c3e5 commit 54843b7

File tree

1 file changed

+2
-1
lines changed
  • test/jdk/jdk/internal/vm/Continuation

1 file changed

+2
-1
lines changed

test/jdk/jdk/internal/vm/Continuation/Fuzz.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public class Fuzz implements Runnable {
7878
static final boolean RANDOM = true;
7979
static final boolean VERBOSE = false;
8080

81-
static final int COMPILATION_TIMEOUT = 5_000; // ms
81+
static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
82+
static final int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
8283

8384
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));
8485

0 commit comments

Comments
 (0)