Integrated: 8285503: SwingNodeDnDMemoryLeakTest::testSwingNodeMemoryLeak fails sometimes
Ajit Ghaisas
aghaisas at openjdk.org
Mon Nov 14 15:26:19 UTC 2022
On Thu, 10 Nov 2022 12:01:53 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
> Root cause: The test unreliability comes from the 250ms sleep between `System.gc()` calls.
> Other system tests such as `TabPaneHeaderLeakTest`, `AccordionTitlePaneLeakTest` and `ShapeViewOrderLeakTest` etc sleep for 500ms between `System.gc()` calls.
>
> Fix:
> - Increased the sleep time to 500ms between `System.gc()` calls.
>
> Testing: This test used to fail on my macBook all the time if ran as part of a full system test run. I executed full test runs 5 times with this change and no failure was observed.
This pull request has now been integrated.
Changeset: 59569502
Author: Ajit Ghaisas <aghaisas at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/595695020cf46737a9790fb5638252d3e4a6fdad
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8285503: SwingNodeDnDMemoryLeakTest::testSwingNodeMemoryLeak fails sometimes
Reviewed-by: kcr
-------------
PR: https://git.openjdk.org/jfx/pull/946
More information about the openjfx-dev
mailing list