remove time-consuming gc

This commit is contained in:
Alexey Kudravtsev
2018-11-20 18:42:41 +03:00
parent bc4c0c1e4f
commit 294da0388f
@@ -336,9 +336,7 @@ public class LibraryTest extends ModuleRootManagerTestCase {
PsiClass aClass = JavaPsiFacade.getInstance(getProject()).findClass("l.InLib", GlobalSearchScope.allScope(getProject()));
assertNotNull(aClass);
System.gc();
System.gc();
System.gc(); // ?? unlock the file?
// wait until unlock the file?
while (!FileUtil.delete(new File(libDir.getPath(),"lib.jar"))) {
}