mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
speed up test execution by effectively removing the necessity for sleep(100) every 5 tests
This commit is contained in:
@@ -153,6 +153,7 @@ public class ProjectManagerImpl extends ProjectManagerEx implements Disposable {
|
||||
for (int i = 0; i < 42; i++) {
|
||||
if (myProjects.size() < MAX_LEAKY_PROJECTS) break;
|
||||
System.gc();
|
||||
if (myProjects.size() < MAX_LEAKY_PROJECTS) break;
|
||||
TimeoutUtil.sleep(100);
|
||||
System.gc();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user