changeset 1493:e6d627b32ca0

Runing fx reproducer wihtout splashscreen is making the test much more safe to pass
author Jiri Vanek <jvanek@redhat.com>
date Wed, 07 Feb 2018 13:56:18 +0100
parents f2717977a1b3
children 232107653932
files tests/reproducers/custom/JavaFx/testcases/JavaFxTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/reproducers/custom/JavaFx/testcases/JavaFxTest.java	Wed Feb 07 11:33:50 2018 +0100
+++ b/tests/reproducers/custom/JavaFx/testcases/JavaFxTest.java	Wed Feb 07 13:56:18 2018 +0100
@@ -70,7 +70,7 @@
     @NeedsDisplay
     public void testJavawsJNLP() throws Exception {
         ProcessResult pr = server.executeJavaws(
-                Arrays.asList(new String[]{OptionsDefinitions.OPTIONS.NOSEC.option}),
+                Arrays.asList(new String[]{OptionsDefinitions.OPTIONS.NOSEC.option, OptionsDefinitions.OPTIONS.HEADLESS.option}),
                 "/JavaFx.jnlp",
                 new StringBasedClosingListener(done),
                 new StringBasedClosingListener("xceptionxception"));