diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java index f76da4c2d7..567bcb3e38 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java @@ -163,7 +163,7 @@ public static void setupEdgeEnvironment() { // initialize Edge environment before any test runs to isolate environment setup if (SwtTestUtil.isWindows) { Shell shell = new Shell(); - new Browser(shell, SWT.EDGE); + new Browser(shell, SWT.EDGE).getUrl(); shell.dispose(); } } @@ -302,7 +302,7 @@ private int reportOpenedDescriptors() { } private Browser createBrowser(Shell s, int flags) { - long maximumBrowserCreationMilliseconds = 90_000; + long maximumBrowserCreationMilliseconds = 15_000; long createStartTime = System.currentTimeMillis(); Browser b = new Browser(s, flags); // Wait for asynchronous initialization via getting URL