File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
utbot-framework/src/main/kotlin/org/utbot Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ class UtBotSymbolicEngine(
435435 })
436436 }
437437 fuzzedValues.forEach { values ->
438- if (System .currentTimeMillis() >= until) {
438+ if (controller.job?.isActive == false || System .currentTimeMillis() >= until) {
439439 logger.info { " Fuzzing overtime: $methodUnderTest " }
440440 return @flow
441441 }
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class TestFlow internal constructor(block: TestFlow.() -> Unit) {
6262 isFuzzingEnabled -> {
6363 when (val value = if (isSymbolicEngineEnabled) (fuzzingValue * generationTimeout).toLong() else generationTimeout) {
6464 0L -> engine.traverse()
65- generationTimeout -> engine.fuzzing()
65+ generationTimeout -> engine.fuzzing(System .currentTimeMillis() + value )
6666 else -> flowOf(
6767 engine.fuzzing(System .currentTimeMillis() + value),
6868 engine.traverse()
You can’t perform that action at this time.
0 commit comments