tests fix

GitOrigin-RevId: fcdcebd9aa91e54aabd7ecd6ba3912e4d12f52e0
This commit is contained in:
Mikhail Sokolov
2019-12-27 13:05:40 +00:00
committed by intellij-monorepo-bot
parent 78ecb05be0
commit 7748ce3017
@@ -78,7 +78,7 @@ public class GotoActionModel implements ChooseByNameModel, Comparator<Object>, D
private final Map<AnAction, GroupMapping> myActionGroups = new HashMap<>();
private final NotNullLazyValue<Map<String, String>> myConfigurablesNames = VolatileNotNullLazyValue.createValue(() -> {
if (SwingUtilities.isEventDispatchThread()) LOG.error("Configurable names must not be loaded on EDT");
if (SwingUtilities.isEventDispatchThread() && !ApplicationManager.getApplication().isUnitTestMode()) LOG.error("Configurable names must not be loaded on EDT");
Map<String, String> map = new THashMap<>();
for (Configurable configurable : ShowSettingsUtilImpl.getConfigurables(getProject(), true)) {