mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 00:57:59 +07:00
testFramework [starter]: better process info output
GitOrigin-RevId: 853cb18824a8bba9ce441a31da797e433831656c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
71048f8c57
commit
ca499b2744
+2
-2
@@ -54,9 +54,9 @@ fun findAndKillLeftoverProcessesFromTestRuns(reportErrors: Boolean = false) {
|
||||
val message = "Unexpected running processes were detected after IDE was stopped ${processInfosToKill.joinToString(", ") { it.name }}"
|
||||
CIServer.instance.reportTestFailure(testName = message,
|
||||
message = message + "\n" +
|
||||
processInfosToKill.joinToString(", ") { "Process:[Name:${it.name},Id:${it.pid}]\n" } + "\n" +
|
||||
processInfosToKill.joinToString(", ") { "Process:[Name:${it.name}, Id:${it.pid}]" } + "\n\n" +
|
||||
"Please investigate if the process should have been stopped together with the IDE, it means it is a bug, you can raise a YT ticket and mute the exception.\n" +
|
||||
"If it is an expected behaviour, it is recommended to add a call `${::findAndKillProcesses}` with appropriate arguments in @After/@AfterEach.\n" +
|
||||
"If it is an expected behaviour, it is recommended to add a call `${::findAndKillProcesses}` with appropriate arguments in @After/@AfterEach.\n\n" +
|
||||
"Processes were collected based on command line, containing '${
|
||||
substringToSearch.joinToString(", ")
|
||||
}'.\n" +
|
||||
|
||||
Reference in New Issue
Block a user