From 66c8f7564c207b3449544ffc80a567b10fdfbf70 Mon Sep 17 00:00:00 2001 From: JiaWei Tang Date: Wed, 15 Jan 2025 10:31:26 +0800 Subject: [PATCH] [Wisp] prevent running time-related case in debug mode Summary: as title Testing: com/alibaba/wisp/bug/TestCancelTimerAndSleep.java Reviewers: ziyilin, yulei Issue: https://github.com/dragonwell-project/dragonwell11/issues/901 --- test/jdk/com/alibaba/wisp/bug/TestCancelTimerAndSleep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test/jdk/com/alibaba/wisp/bug/TestCancelTimerAndSleep.java b/test/jdk/com/alibaba/wisp/bug/TestCancelTimerAndSleep.java index 56bd3ac0b07..23a451e69a5 100644 --- a/test/jdk/com/alibaba/wisp/bug/TestCancelTimerAndSleep.java +++ b/test/jdk/com/alibaba/wisp/bug/TestCancelTimerAndSleep.java @@ -4,6 +4,7 @@ * @modules java.base/jdk.internal.misc * @requires os.family == "linux" * @requires os.arch != "riscv64" + * @requires vm.debug != true * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableCoroutine -Dcom.alibaba.wisp.transparentWispSwitch=true TestCancelTimerAndSleep */