mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests: do not run cleanup of incorrect repository libraries in tests
It makes no sense and tests may report memory leaks because of that (IDEA-180424).
This commit is contained in:
@@ -176,9 +176,11 @@ public class RepositoryLibrarySynchronizer implements StartupActivity, DumbAware
|
||||
}
|
||||
});
|
||||
|
||||
ApplicationManager.getApplication().executeOnPooledThread(() -> {
|
||||
removeDuplicatedUrlsFromRepositoryLibraries(project);
|
||||
syncTask.run();
|
||||
});
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
ApplicationManager.getApplication().executeOnPooledThread(() -> {
|
||||
removeDuplicatedUrlsFromRepositoryLibraries(project);
|
||||
syncTask.run();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user