mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix hanging InspectionIntegrationStressTest
GitOrigin-RevId: e5e7e79897e3416ef715316ef604049c01a48d36
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c879ed4e4a
commit
d55dd5a07c
@@ -4,6 +4,7 @@ package com.intellij.openapi.projectRoots.impl
|
||||
import com.intellij.analysis.AnalysisScope
|
||||
import com.intellij.ide.CommandLineInspectionProgressReporter
|
||||
import com.intellij.ide.CommandLineInspectionProjectConfigurator
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.progress.util.ProgressIndicatorBase
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
@@ -12,7 +13,7 @@ import java.nio.file.Path
|
||||
|
||||
class SdkConfigurator : CommandLineInspectionProjectConfigurator {
|
||||
override fun isApplicable(projectPath: Path, logger: CommandLineInspectionProgressReporter): Boolean {
|
||||
return true
|
||||
return !ApplicationManager.getApplication().isUnitTestMode
|
||||
}
|
||||
|
||||
override fun configureEnvironment(projectPath: Path, logger: CommandLineInspectionProgressReporter) {
|
||||
|
||||
Reference in New Issue
Block a user