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
This commit is contained in:
Daniel D. Daugherty 2022-08-22 19:30:50 +00:00
parent 8a0c3e53d5
commit 54843b700a

View File

@ -78,7 +78,8 @@ public class Fuzz implements Runnable {
static final boolean RANDOM = true;
static final boolean VERBOSE = false;
static final int COMPILATION_TIMEOUT = 5_000; // ms
static float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
static final int COMPILATION_TIMEOUT = (int)(5_000 * timeoutFactor); // ms
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));