[K/N][tests] Close stdin after piping all the data ^KT-61259

This commit is contained in:
Alexander Shabalin
2023-11-17 10:27:23 +01:00
committed by Space Team
parent 97a86e0ee3
commit 2abf9bccba
@@ -35,7 +35,7 @@ internal class LocalTestRunner(private val testRun: TestRun) : AbstractLocalProc
override fun customizeProcess(process: Process) {
testRun.runParameters.get<TestRunParameter.WithInputData> {
process.outputStream.write(inputDataFile.readBytes())
process.outputStream.flush()
process.outputStream.close()
}
}