loading project under one progress (take two): fixing tests

This commit is contained in:
Dmitry Avdeev
2016-04-06 15:10:26 +03:00
parent 869508f52c
commit 39de6cb612
@@ -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);