Skip to content

Commit

Permalink
[perform_tests]AT-535. Fixed discussions
Browse files Browse the repository at this point in the history
GitOrigin-RevId: d5d9bfc56d843775958c215bad2d8a606c8e77c9
  • Loading branch information
nikitaBarkov authored and intellij-monorepo-bot committed Nov 24, 2023
1 parent 72d9aa7 commit bea37d9
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,24 +102,6 @@ class IDETestContext(
withActiveProcessorCount(count)
}

fun executeScriptFromProjectPath(scriptFilePath: String, vararg args: String): IDETestContext {
val stdOut = ExecOutputRedirect.ToString()
val stdErr = ExecOutputRedirect.ToString()
try {
ProcessExecutor(
presentableName = "execute-process-$scriptFilePath",
workDir = this._resolvedProjectHome,
args = listOf(scriptFilePath, *args),
stdoutRedirect = stdOut,
stderrRedirect = stdErr
).start()
}
catch (t: Throwable) {
throw IllegalStateException("${t.message}\n StdErr: ${stdErr}\n StdOut: ${stdOut}")
}
return this
}

fun skipGitLogIndexing(value: Boolean = true): IDETestContext =
applyVMOptionsPatch {
addSystemProperty("vcs.log.index.enable", !value)
Expand Down

0 comments on commit bea37d9

Please sign in to comment.