fixed top priority tests

This commit is contained in:
2026-07-24 15:43:02 -04:00
parent e76c76a4df
commit d4b974617c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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,