assertj-swing icon indicating copy to clipboard operation
assertj-swing copied to clipboard

Global slowness on CI, simple test like clicking on a component taking from 20s to minutes

Open ron190 opened this issue 1 year ago • 1 comments

Hello, I have a moderately dense GUI, I'm looking for specific reasons why simple command lasts at least 20s on GitHub Actions, some taking minutes for one click :

@Test
void shouldFindInjectionPreferences() {
    AppUiTest.window.checkBox("checkboxIsParsingForm").click();
    AppUiTest.window.checkBox("checkboxIsParsingForm").click();
}

All the tests are instant on local (source code, GH actions logs), the entire test suite in this file lasts 59s in local, and it lasts 2h16m on GH actions.

Is there a problem about lookup by name ? about EDT ?

Is there any ways to speedup one click in some ways ?

ron190 avatar Jan 21 '25 23:01 ron190

Test suite takes 2h16m on jdk11 and it takes 7mn on jdk21 to be more precise.

I wonder if any jdk11 component is the root cause to such a delay, or in opposition if any jdk21 improvment explains such gain of speed.

ron190 avatar Jan 31 '25 20:01 ron190