Skip to content

Commit

Permalink
8246099: Intermittent test failures in SandboxAppTest
Browse files Browse the repository at this point in the history
Reviewed-by: arapte, jvos
  • Loading branch information
kevinrushforth committed May 29, 2020
1 parent c41777e commit 168b7f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/system/src/test/java/test/sandbox/Constants.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -31,7 +31,7 @@
public class Constants {

// Test timeout in milliseconds
public static final int TIMEOUT = 10000;
public static final int TIMEOUT = 30000;

// Time in milliseconds to show the stage
public static final int SHOWTIME = 2500;
Expand Down
10 changes: 5 additions & 5 deletions tests/system/src/test/java/test/sandbox/SandboxAppTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -100,24 +100,24 @@ private void runSandboxedApp(String appName, int exitCode) throws Exception {

// TEST CASES

@Test (timeout = 15000)
@Test (timeout = 25000)
public void testFXApp() throws Exception {
runSandboxedApp("FXApp");
}

@Test (timeout = 15000)
@Test (timeout = 25000)
public void testFXNonApp() throws Exception {
runSandboxedApp("FXNonApp");
}

@Ignore("JDK-8202451")
@Test (timeout = 15000)
@Test (timeout = 25000)
public void testJFXPanelApp() throws Exception {
runSandboxedApp("JFXPanelApp");
}

@Ignore("JDK-8202451")
@Test (timeout = 15000)
@Test (timeout = 25000)
public void testJFXPanelImplicitExitApp() throws Exception {
runSandboxedApp("JFXPanelImplicitExitApp", 0);
}
Expand Down

0 comments on commit 168b7f7

Please sign in to comment.