Skip to content

Commit 93c1b7e

Browse files
committed
Disable restart if null command is found
1 parent 2c8a759 commit 93c1b7e

File tree

1 file changed

+4
-4
lines changed
  • utbot-junit-contest/src/main/kotlin/org/utbot/runtool

1 file changed

+4
-4
lines changed

utbot-junit-contest/src/main/kotlin/org/utbot/runtool/UtBotTool2.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class UtBotTool2 : ITestingTool {
3434
val line = inputChannel.readLine()
3535
if (line == null) {
3636
log("INIT FAILED, INPUT LINE IS <NULL>")
37-
break
37+
continue
3838
}
3939

4040
logUtbotOut(line)
@@ -131,9 +131,9 @@ class UtBotTool2 : ITestingTool {
131131
while (true) {
132132
val line = inputChannel.readLine()
133133
if (line == null) {
134-
log("INPUT FROM UTBOT IS NULL, RESTARTING UTBOT")
135-
restartProcess()
136-
break
134+
log(">>> INPUT FROM UTBOT IS NULL <<<")
135+
// restartProcess()
136+
continue
137137
}
138138
logUtbotOut(line)
139139

0 commit comments

Comments
 (0)