mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java tests: ensure search is completed with onFound so all invariants would be in the consistent state
This commit is contained in:
+1
-1
@@ -62,11 +62,11 @@ public abstract class SearchForTestsTask extends Task.Backgroundable {
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
try {
|
||||
search();
|
||||
onFound();
|
||||
}
|
||||
catch (Throwable e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
onFound();
|
||||
}
|
||||
else {
|
||||
myProcessIndicator = new BackgroundableProcessIndicator(this);
|
||||
|
||||
Reference in New Issue
Block a user