fixed top priority tests
This commit is contained in:
+2
-2
@@ -439,11 +439,11 @@ def compile_schedule_endpoint(request: CompileScheduleRequest) -> dict[str, Any]
|
||||
|
||||
for test_id in dut_top_priority_ids:
|
||||
if any(t.test_id == test_id and t.device == DUT for t in stored_tests):
|
||||
top_priority_pairs.add((test_id, DUT))
|
||||
top_priority_pairs.add((DUT, test_id))
|
||||
|
||||
for test_id in ref_top_priority_ids:
|
||||
if any(t.test_id == test_id and t.device == REF for t in stored_tests):
|
||||
top_priority_pairs.add((test_id, REF))
|
||||
top_priority_pairs.add((REF, test_id))
|
||||
|
||||
scheduler = Scheduler(
|
||||
all_tests=all_tests,
|
||||
|
||||
Reference in New Issue
Block a user