mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ChooseByNamePopup tests: decrease max waiting time (IDEA-CR-44283)
This commit is contained in:
@@ -483,7 +483,7 @@ public class ChooseByNamePopup extends ChooseByNameBase implements ChooseByNameP
|
||||
semaphore.up();
|
||||
});
|
||||
long start = System.currentTimeMillis();
|
||||
while (!semaphore.waitFor(10) && System.currentTimeMillis() - start < 1_000_000) {
|
||||
while (!semaphore.waitFor(10) && System.currentTimeMillis() - start < 20_000) {
|
||||
UIUtil.dispatchAllInvocationEvents();
|
||||
}
|
||||
if (!semaphore.waitFor(10)) {
|
||||
|
||||
Reference in New Issue
Block a user