diff --git a/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy b/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy index b5e7db07b6db..62c5c9d0fd8e 100644 --- a/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy +++ b/java/testFramework/src/com/intellij/codeInsight/completion/CompletionAutoPopupTestCase.groovy @@ -100,6 +100,7 @@ abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCa def start = System.currentTimeMillis() while (!committed.get()) { if (System.currentTimeMillis() - start >= 10000) { + printThreadDump() fail('too long waiting for a document to be committed') } UIUtil.pump();