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(
435
435
})
436
436
}
437
437
fuzzedValues.forEach { values ->
438
- if (System .currentTimeMillis() >= until) {
438
+ if (controller.job?.isActive == false || System .currentTimeMillis() >= until) {
439
439
logger.info { " Fuzzing overtime: $methodUnderTest " }
440
440
return @flow
441
441
}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class TestFlow internal constructor(block: TestFlow.() -> Unit) {
62
62
isFuzzingEnabled -> {
63
63
when (val value = if (isSymbolicEngineEnabled) (fuzzingValue * generationTimeout).toLong() else generationTimeout) {
64
64
0L -> engine.traverse()
65
- generationTimeout -> engine.fuzzing()
65
+ generationTimeout -> engine.fuzzing(System .currentTimeMillis() + value )
66
66
else -> flowOf(
67
67
engine.fuzzing(System .currentTimeMillis() + value),
68
68
engine.traverse()
You can’t perform that action at this time.
0 commit comments