Skip to content

Tests fail because creating the Edge browser for the tests takes too long #1676

@fedejeanne

Description

@fedejeanne

Describe the bug
Creating the Edge browser for the tests in Test_org_eclipse_swt_browser_Browser takes too long.

creating browser took too long: 23811ms
java.lang.AssertionError: creating browser took too long: 23811ms
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser.createBrowser(Test_org_eclipse_swt_browser_Browser.java:311)
	at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser.setUp(Test_org_eclipse_swt_browser_Browser.java:184)
...

To Reproduce
It fails intermittently in GH Actions e.g. in this one: https://github.com/eclipse-platform/eclipse.platform.swt/actions/runs/12374507303/job/34537197042?pr=1672

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS

Version since
Ever since #672 has been merged and both Edge and IE are tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    edgeEdge BrowserjunitJUnit test failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions