Skip to content

Commit

Permalink
[plugin checker tests] Add launch names for runs without/with a plugin
Browse files Browse the repository at this point in the history
GitOrigin-RevId: a8fdfbf4f0b5663ac8be52f9efe30b982aeb65ba
  • Loading branch information
emrzv authored and intellij-monorepo-bot committed Oct 28, 2024
1 parent 34b66d0 commit 653730c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,13 @@ class InstallPluginTest {
@Timeout(value = 20, unit = TimeUnit.MINUTES)
fun installPluginTest(params: EventToTestCaseParams) {
val testContextWithoutPlugin = createTestContext(params)
val ideRunContextWithoutPlugin = testContextWithoutPlugin.runIDE(commands = CommandChain().exitApp()).runContext
val ideRunContextWithoutPlugin = testContextWithoutPlugin.runIDE(launchName = "Run without plugin", commands = CommandChain().exitApp()).runContext
val errorsWithoutPlugin = ErrorReporterToCI.collectErrors(ideRunContextWithoutPlugin.logsDir)

try {
val testContext = createTestContext(params) { pluginConfigurator.installPluginFromURL(params.event.file) }
val ideRunContext = testContext.runIDE(
launchName = "Run with plugin",
commandLine = { IDECommandLine.OpenTestCaseProject(testContext, listOf("-Dperformance.watcher.unresponsive.interval.ms=10000")) },
commands = CommandChain().exitApp()
).runContext
Expand Down

0 comments on commit 653730c

Please sign in to comment.