diff --git a/tests/system/src/test/java/test/sandbox/SandboxAppTest.java b/tests/system/src/test/java/test/sandbox/SandboxAppTest.java index 906ddf3afa4..f2972e5ba02 100644 --- a/tests/system/src/test/java/test/sandbox/SandboxAppTest.java +++ b/tests/system/src/test/java/test/sandbox/SandboxAppTest.java @@ -28,6 +28,7 @@ import com.sun.javafx.PlatformUtil; import java.util.ArrayList; import junit.framework.AssertionFailedError; +import org.junit.Before; import org.junit.Test; import org.junit.Ignore; @@ -98,6 +99,13 @@ private void runSandboxedApp(String appName, int exitCode) throws Exception { } } + @Before + public void setupEach() { + if (PlatformUtil.isWindows()) { + assumeTrue(Boolean.getBoolean("unstable.test")); // JDK-8255486 + } + } + // TEST CASES @Test (timeout = 25000)