fixed tasks queue with time -1

This commit is contained in:
Mikhail Ryzhov 2023-08-28 15:32:03 +02:00
parent 0a5dfe7286
commit b511b0a64d

View File

@ -410,7 +410,7 @@ class TestParallelRunner:
test_pattern = f'"{test_pattern}":' test_pattern = f'"{test_pattern}":'
if test_time == -1: if test_time == -1:
tasks_crashed.append({test_time, test_pattern}) tasks_crashed.append((test_time, test_pattern))
else: else:
while len(tasks_not_full) > 0: while len(tasks_not_full) > 0:
t_time, t_pattern = tasks_not_full[0] t_time, t_pattern = tasks_not_full[0]