Skip to content

Commit 92b9c56

Browse files
committed
Added timeout to test due to potential hang when using XWayland
1 parent 2dad883 commit 92b9c56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system/src/test/java/test/robot/javafx/scene/SRGBTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ public void screenCaptureTest() {
215215
// only verify that the JavaFX renderer and JavaFX Robot can round-trip
216216
// colors but they might both be working in the wrong space. We use an
217217
// AWT Robot to verify that they are working in sRGB.
218-
@Test
218+
// Timeout for potential hang on XWayland, see JDK-8335468.
219+
@Test(timeout = 15000)
219220
public void sRGBPixelTest() throws Exception {
220221
Rectangle swatch = prepareStage();
221222

0 commit comments

Comments
 (0)