Commit 13793c25 authored by Andrey Getmanov's avatar Andrey Getmanov
Browse files

fix test_pipeline_fit_time_constraint

Fixed occasional test error when computational time of pipeline with higher time constraint was lower than computational time with less time constraint
parent 2209d02d
1 merge request!633Fix test_pipeline_fit_time_constraint
Showing with 1 addition and 2 deletions
+1 -2
......@@ -391,8 +391,7 @@ def test_pipeline_fit_time_constraint(data_fixture, request):
computation_time_first = test_pipeline_first.computation_time
assert type(received_ex) is TimeoutError
comp_time_proc_with_first_constraint = (time.time() - process_start_time)
time_constraint = datetime.timedelta(seconds=2)
test_pipeline_first.unfit(unfit_preprocessor=True)
time_constraint = datetime.timedelta(seconds=5)
process_start_time = time.time()
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment