fixed top priority tests
This commit is contained in:
@@ -91,7 +91,7 @@ def build_test_bundles(active_dut: dict[str, Test], active_ref: dict[str, Test],
|
||||
priority = BUNDLE_PRIORITY_USER_TOP
|
||||
|
||||
# Check if any of the DUT tests in this bundle are reruns
|
||||
if any((dut_test.status == "rerun" for dut_test_id in dut_bundled_tests if (dut_test := active_dut.get(dut_test_id)))):
|
||||
elif any((dut_test.status == "rerun" for dut_test_id in dut_bundled_tests if (dut_test := active_dut.get(dut_test_id)))):
|
||||
priority = BUNDLE_PRIORITY_RERUN
|
||||
|
||||
test_bundles.append(
|
||||
@@ -111,7 +111,7 @@ def build_test_bundles(active_dut: dict[str, Test], active_ref: dict[str, Test],
|
||||
if any((REF, ref_test_id) in top_priority_tests for ref_test_id in ref_bundled_tests):
|
||||
priority = BUNDLE_PRIORITY_USER_TOP
|
||||
# Check if any of the REF tests in this bundle are reruns
|
||||
if any((ref_test.status == "rerun" for ref_test_id in ref_bundled_tests if (ref_test := active_ref.get(ref_test_id)))):
|
||||
elif any((ref_test.status == "rerun" for ref_test_id in ref_bundled_tests if (ref_test := active_ref.get(ref_test_id)))):
|
||||
priority = BUNDLE_PRIORITY_RERUN
|
||||
|
||||
test_bundles.append(
|
||||
@@ -141,7 +141,7 @@ def build_test_bundles(active_dut: dict[str, Test], active_ref: dict[str, Test],
|
||||
priority = BUNDLE_PRIORITY_USER_TOP
|
||||
|
||||
# Check if any of the DUT tests in this bundle are reruns
|
||||
if any((dut_test.status == "rerun" for dut_test_id in dut_bundled_tests if (dut_test := active_dut.get(dut_test_id)))):
|
||||
elif any((dut_test.status == "rerun" for dut_test_id in dut_bundled_tests if (dut_test := active_dut.get(dut_test_id)))):
|
||||
priority = BUNDLE_PRIORITY_RERUN
|
||||
|
||||
test_bundles.append(
|
||||
@@ -158,7 +158,7 @@ def build_test_bundles(active_dut: dict[str, Test], active_ref: dict[str, Test],
|
||||
if any((REF, ref_test_id) in top_priority_tests for ref_test_id in ref_bundled_tests):
|
||||
priority = BUNDLE_PRIORITY_USER_TOP
|
||||
# Check if any of the REF tests in this bundle are reruns
|
||||
if any((ref_test.status == "rerun" for ref_test_id in ref_bundled_tests if (ref_test := active_ref.get(ref_test_id)))):
|
||||
elif any((ref_test.status == "rerun" for ref_test_id in ref_bundled_tests if (ref_test := active_ref.get(ref_test_id)))):
|
||||
priority = BUNDLE_PRIORITY_RERUN
|
||||
|
||||
if ref_bundled_tests:
|
||||
|
||||
Reference in New Issue
Block a user