From e28841444003cf9c123eff773dea2c40d7f6c848 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Sun, 20 Dec 2020 16:14:03 +0100 Subject: [PATCH] fix flaky test: do not adjust execution time by cores number once more because the test threads were already created according to FJP parallelism GitOrigin-RevId: e1593771dd7ed5715bed7697e59441517b0b166d --- .../intellij/openapi/application/impl/ApplicationImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/application/impl/ApplicationImplTest.java b/platform/platform-tests/testSrc/com/intellij/openapi/application/impl/ApplicationImplTest.java index b2c49d05af1b..82f5e2439f66 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/application/impl/ApplicationImplTest.java +++ b/platform/platform-tests/testSrc/com/intellij/openapi/application/impl/ApplicationImplTest.java @@ -552,7 +552,7 @@ public class ApplicationImplTest extends LightPlatformTestCase { assertFalse(ApplicationManager.getApplication().isWriteAccessAllowed()); List> futures = AppExecutorUtil.getAppExecutorService().invokeAll(callables); ConcurrencyUtil.getAll(futures); - }).usesAllCPUCores().assertTiming(); + }).assertTiming(); } public void testCheckCanceledReadAction() throws Exception {