From 39de6cb6123c69b414d9fe4260087d48c32caca3 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 6 Apr 2016 15:09:12 +0300 Subject: [PATCH] loading project under one progress (take two): fixing tests --- .../src/com/intellij/openapi/project/impl/ProjectImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java b/platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java index f07ec3dc35ec..d1ce66cc7b02 100644 --- a/platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/project/impl/ProjectImpl.java @@ -288,7 +288,7 @@ public class ProjectImpl extends PlatformComponentManagerImpl implements Project long time = System.currentTimeMillis() - start; LOG.info(getComponentConfigCount() + " project components initialized in " + time + " ms"); - if (!isDefault()) { + if (!isDefault() && !ApplicationManager.getApplication().isUnitTestMode()) { distributeProgress(); } ApplicationManager.getApplication().getMessageBus().syncPublisher(ProjectLifecycleListener.TOPIC).projectComponentsInitialized(this);