mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for flaky testDocumentCommittedInBackgroundEventuallyEvenDespiteTyping
This commit is contained in:
+4
-1
@@ -332,7 +332,10 @@ public class PsiDocumentManagerImplTest extends PlatformTestCase {
|
||||
waitForCommit(document, i);
|
||||
WriteCommandAction.runWriteCommandAction(null, () -> document.deleteString(0, "/**/".length()));
|
||||
waitTenSecondsForCommit(document);
|
||||
assertTrue("Still not committed: " + document, getPsiDocumentManager().isCommitted(document));
|
||||
if (!getPsiDocumentManager().isCommitted(document)) {
|
||||
printThreadDump();
|
||||
fail("Still not committed: " + document);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user