diff --git a/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy b/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy index e51ef8f08661..bfa262b0ea6b 100644 --- a/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy +++ b/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy @@ -55,8 +55,8 @@ abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCa void type(String s) { myFixture.type(s) - UIUtil.invokeAndWaitIfNeeded(({} as Runnable)) // for the autopopup's alarm - UIUtil.invokeAndWaitIfNeeded(({} as Runnable)) // for the restartCompletion's invokeLater + UIUtil.invokeAndWaitIfNeeded(({ println "wait1" } as Runnable)) // for the autopopup's alarm + UIUtil.invokeAndWaitIfNeeded(({ println "wait2" } as Runnable)) // for the restartCompletion's invokeLater } @Override protected void runTest() {