Skip to content

Commit 168b7f7

Browse files
8246099: Intermittent test failures in SandboxAppTest
Reviewed-by: arapte, jvos
1 parent c41777e commit 168b7f7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/system/src/test/java/test/sandbox/Constants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@
3131
public class Constants {
3232

3333
// Test timeout in milliseconds
34-
public static final int TIMEOUT = 10000;
34+
public static final int TIMEOUT = 30000;
3535

3636
// Time in milliseconds to show the stage
3737
public static final int SHOWTIME = 2500;

tests/system/src/test/java/test/sandbox/SandboxAppTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -100,24 +100,24 @@ private void runSandboxedApp(String appName, int exitCode) throws Exception {
100100

101101
// TEST CASES
102102

103-
@Test (timeout = 15000)
103+
@Test (timeout = 25000)
104104
public void testFXApp() throws Exception {
105105
runSandboxedApp("FXApp");
106106
}
107107

108-
@Test (timeout = 15000)
108+
@Test (timeout = 25000)
109109
public void testFXNonApp() throws Exception {
110110
runSandboxedApp("FXNonApp");
111111
}
112112

113113
@Ignore("JDK-8202451")
114-
@Test (timeout = 15000)
114+
@Test (timeout = 25000)
115115
public void testJFXPanelApp() throws Exception {
116116
runSandboxedApp("JFXPanelApp");
117117
}
118118

119119
@Ignore("JDK-8202451")
120-
@Test (timeout = 15000)
120+
@Test (timeout = 25000)
121121
public void testJFXPanelImplicitExitApp() throws Exception {
122122
runSandboxedApp("JFXPanelImplicitExitApp", 0);
123123
}

0 commit comments

Comments
 (0)