From dfa6fe0b20e269232adcfc6a17d2219db8a3f64f Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Sat, 13 Apr 2019 22:43:14 +0300 Subject: [PATCH] vcs: more diagnostics for flaky test --- .../openapi/vcs/changes/committed/VcsDirtyScopeTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/vcs-tests/testSrc/com/intellij/openapi/vcs/changes/committed/VcsDirtyScopeTest.java b/platform/vcs-tests/testSrc/com/intellij/openapi/vcs/changes/committed/VcsDirtyScopeTest.java index cfd3fbe47ade..7feda08098ab 100644 --- a/platform/vcs-tests/testSrc/com/intellij/openapi/vcs/changes/committed/VcsDirtyScopeTest.java +++ b/platform/vcs-tests/testSrc/com/intellij/openapi/vcs/changes/committed/VcsDirtyScopeTest.java @@ -72,7 +72,8 @@ public class VcsDirtyScopeTest extends FileBasedTest { myVcsManager.setDirectoryMappings(mappings); myVcsManager.iterateVcsRoot(myProject.getBaseDir(), path -> { - Assert.assertFalse(VfsUtilCore.isAncestor(data.dir1, path.getVirtualFile(), false)); + Assert.assertFalse(String.format("data dir: %s - file: %s", data.dir1.getPath(), path.getVirtualFile().getPath()), + VfsUtilCore.isAncestor(data.dir1, path.getVirtualFile(), false)); Assert.assertEquals(myVcsManager.getVcsFor(path), myVcs); return true; });