mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not pollute file name cache with 100K irrelevant names in tests
GitOrigin-RevId: 09dd4bcf94e0291ef59dfc769a89d643ffd94c19
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ef95962ef7
commit
9647a2bda7
+1
-1
@@ -109,7 +109,7 @@ public class VirtualFilePointerRootsTest extends HeavyPlatformTestCase {
|
||||
myVirtualFilePointerManager.shelveAllPointersIn(() -> {
|
||||
for (int i = 0; i < 100_000; i++) {
|
||||
myVirtualFilePointerManager.create(VfsUtilCore.pathToUrl("/a/b/c/d/" + i), disposable, listener);
|
||||
String name = "xxx" + i;
|
||||
String name = "xxx" + (i%20);
|
||||
events.add(new VFileCreateEvent(this, temp, name, FileNameCache.storeName(name), false, null, null, true, null));
|
||||
}
|
||||
PlatformTestUtil.startPerformanceTest("vfp update", 7_500, () -> {
|
||||
|
||||
Reference in New Issue
Block a user