From ab99f1ee2831bbbc2efeb645ee7a1cb76446f679 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 13 Apr 2012 16:00:43 +0200 Subject: [PATCH] Cleanup after test --- .../com/intellij/openapi/vfs/local/FileWatcherTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/vfs/local/FileWatcherTest.java b/platform/platform-tests/testSrc/com/intellij/openapi/vfs/local/FileWatcherTest.java index 533f55ef7733..a7fe91bc4b37 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/vfs/local/FileWatcherTest.java +++ b/platform/platform-tests/testSrc/com/intellij/openapi/vfs/local/FileWatcherTest.java @@ -368,9 +368,10 @@ public class FileWatcherTest extends PlatformLangTestCase { } } finally { - VirtualDirectoryImpl.disallowRootAccess(substRoot); delete(targetDir); new GeneralCommandLine("subst", subst + ":", "/d").createProcess().waitFor(); + myFileSystem.refresh(false); + VirtualDirectoryImpl.disallowRootAccess(substRoot); } }