dump threads when the document takes too long to commit in autopopup tests

This commit is contained in:
peter
2011-09-23 18:50:55 +02:00
parent dd61ddf7d9
commit d20edc3be0
@@ -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();