Skip to content

Commit c2fde51

Browse files
anass-bayamrserb
authored andcommitted
8357390: java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java Test failing on Ubuntu 24.04 Vm Hosts used by Oracle's internal CI system
Reviewed-by: honkar, serb
1 parent eff6439 commit c2fde51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/*
2525
* @test
2626
* @key headful
27-
* @bug 8020443 6899304 4737732
27+
* @bug 8020443 6899304 4737732 8357390
2828
* @summary Tests that Toolkit.getScreenInsets() returns correct insets
2929
* @library /test/lib
3030
* @build jdk.test.lib.Platform
@@ -44,7 +44,7 @@
4444
public class ScreenInsetsTest {
4545
private static final int SIZE = 100;
4646
// Allow a margin tolerance of 1 pixel due to scaling
47-
private static final int MARGIN_TOLERANCE = 1;
47+
private static final int MARGIN_TOLERANCE = 2;
4848

4949
public static void main(String[] args) throws InterruptedException {
5050
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();

0 commit comments

Comments
 (0)