mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dump threads when the document takes too long to commit in autopopup tests
This commit is contained in:
+1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user