ChooseByNamePopup tests: decrease max waiting time (IDEA-CR-44283)

This commit is contained in:
peter
2019-03-01 07:24:54 +01:00
parent b6630be073
commit 2d075fdc08
@@ -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)) {