File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,7 @@ open class TestCaseGenerator(
310310 private val halfTimeUserExpectsToWaitInMillis = userTimeout / 2
311311
312312 // If the half is too much for concrete execution, decrease the concrete timeout
313- var concreteExecutionBudgetInMillis =
314- min(halfTimeUserExpectsToWaitInMillis, 300L * methodsUnderTestNumber)
313+ val concreteExecutionBudgetInMillis = min(halfTimeUserExpectsToWaitInMillis, 300L * methodsUnderTestNumber)
315314
316315 // The symbolic execution time is the reminder but not longer than checkSolverTimeoutMillis times methods number
317316 val symbolicExecutionTimeout = userTimeout - concreteExecutionBudgetInMillis
@@ -326,14 +325,6 @@ open class TestCaseGenerator(
326325 // Now we calculate the solver timeout. Each method is supposed to get some time in worst-case scenario
327326 val updatedSolverCheckTimeoutMillis = if (symbolicExecutionTimePerMethod < checkSolverTimeoutMillis)
328327 symbolicExecutionTimePerMethod else checkSolverTimeoutMillis
329-
330- init {
331- // Update the concrete execution time, if symbolic execution time is small
332- // because of UtSettings.checkSolverTimeoutMillis
333- concreteExecutionBudgetInMillis = userTimeout - symbolicExecutionTimeout
334- require(symbolicExecutionTimeout > 10 )
335- require(concreteExecutionBudgetInMillis > 10 )
336- }
337328 }
338329
339330 private fun updateLifecycle (
You can’t perform that action at this time.
0 commit comments