diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java index ccb9d2e0bb96..dfdb178a1204 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java @@ -144,13 +144,12 @@ public final class LocalFileSystemImpl extends LocalFileSystemBase implements Ap } } - // IMPORTANT! VFS refresh is a MUST here, because otherwise VirlualFile objects will be leaked in the - // components listening to VFS and relying on VFS contract - ApplicationManager.getApplication().runWriteAction(new Runnable() { - public void run() { - refresh(false); - } - }); + // grand VFS refresh significantly slows down local tests and generally not needed + //ApplicationManager.getApplication().runWriteAction(new Runnable() { + // public void run() { + // refresh(false); + // } + //}); myRootsToWatch.clear();