Skip to content

Commit

Permalink
Add more GC's to TestLayers (#488)
Browse files Browse the repository at this point in the history
Issue eclipse-openj9/openj9#19242

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
  • Loading branch information
pshipton authored Apr 3, 2024
1 parent 00de745 commit b68aae2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ public void testLayers() throws Exception {
* at command line) will cause classes to be unloaded, which will trigger
*the trace point events that the test validation depends on.*/
System.gc();
Thread.sleep(2000);
System.gc();
for (int i = 0; i < 3; i++) {
Thread.sleep(200);
System.gc();
}
}
}

0 comments on commit b68aae2

Please sign in to comment.