We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7577f4 commit 026b363Copy full SHA for 026b363
tests/codegen/smoke-tests/src/test/kotlin/aws/sdk/kotlin/test/codegen/smoketest/SmokeTestE2ETest.kt
@@ -79,9 +79,10 @@ private fun runSmokeTests(
79
80
val process = processBuilder.start()
81
val output = process.inputStream.bufferedReader().use { it.readText() }
82
+ val exitCode = process.waitFor()
83
84
if (expectingFailure) {
- assertTrue(process.exitValue() != 0)
85
+ assertTrue(exitCode != 0)
86
}
87
88
return output
0 commit comments