Don't print to log in successful parcelize tests

This commit is contained in:
Nikolay Krasko
2021-05-11 16:03:11 +03:00
committed by TeamCityServer
parent b41fdd2705
commit 818bbbbb83
2 changed files with 2 additions and 1 deletions
@@ -169,6 +169,7 @@ abstract class AbstractParcelBoxTest : CodegenTestCase() {
process.waitFor(3, TimeUnit.MINUTES)
println(process.inputStream.bufferedReader().lineSequence().joinToString("\n"))
if (process.exitValue() != 0) {
println(process.inputStream.bufferedReader().lineSequence().joinToString("\n"))
throw AssertionError("Process exited with exit code ${process.exitValue()} \n" + classFileFactory.createText())
}
} finally {
@@ -164,8 +164,8 @@ abstract class AbstractParcelizeBoxTest : CodegenTestCase() {
).start()
process.waitFor(3, TimeUnit.MINUTES)
println(process.inputStream.bufferedReader().lineSequence().joinToString("\n"))
if (process.exitValue() != 0) {
println(process.inputStream.bufferedReader().lineSequence().joinToString("\n"))
throw AssertionError("Process exited with exit code ${process.exitValue()} \n" + classFileFactory.createText())
}
} finally {