[K/Wasm] Fix stepping tests flakiness with reading stdout until it is empty
This commit is contained in:
@@ -105,7 +105,7 @@ internal class ExternalTool(val path: String) {
|
||||
val stdout = StringBuilder()
|
||||
val bufferedStdout = BufferedReader(InputStreamReader(process.inputStream))
|
||||
|
||||
while (process.isAlive) {
|
||||
while (true) {
|
||||
val line = bufferedStdout.readLine() ?: break
|
||||
stdout.appendLine(line)
|
||||
println(line)
|
||||
|
||||
Reference in New Issue
Block a user