mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
Refocus v6 resource history on investigation timeline
This commit is contained in:
parent
11c50eb7a0
commit
2c0217ecfc
11 changed files with 190 additions and 365 deletions
|
|
@ -98,16 +98,20 @@ class ControlPlaneAuditTest(unittest.TestCase):
|
|||
entrypoint["startup_commands"],
|
||||
["python3 scripts/release_control/status_audit.py --pretty"],
|
||||
)
|
||||
self.assertEqual(entrypoint["default_pick_surface"], "available_candidate_lane_queue")
|
||||
self.assertIn("candidate lanes", entrypoint["selection_rule"])
|
||||
self.assertIn(
|
||||
"python3 scripts/release_control/status_lookup.py --candidate-lane <CANDIDATE_LANE_ID> --pretty",
|
||||
entrypoint["targeted_lookup_commands"],
|
||||
)
|
||||
self.assertIn(
|
||||
"python3 scripts/release_control/status_lookup.py --coverage-gap <COVERAGE_GAP_ID> --pretty",
|
||||
entrypoint["targeted_lookup_commands"],
|
||||
)
|
||||
if entrypoint["active_target_id"] == "v6-product-lane-expansion":
|
||||
self.assertEqual(entrypoint["default_pick_surface"], "available_candidate_lane_queue")
|
||||
self.assertIn("candidate lanes", entrypoint["selection_rule"])
|
||||
self.assertIn(
|
||||
"python3 scripts/release_control/status_lookup.py --candidate-lane <CANDIDATE_LANE_ID> --pretty",
|
||||
entrypoint["targeted_lookup_commands"],
|
||||
)
|
||||
self.assertIn(
|
||||
"python3 scripts/release_control/status_lookup.py --coverage-gap <COVERAGE_GAP_ID> --pretty",
|
||||
entrypoint["targeted_lookup_commands"],
|
||||
)
|
||||
else:
|
||||
self.assertEqual(entrypoint["default_pick_surface"], "lanes")
|
||||
self.assertIn("lane map", entrypoint["selection_rule"])
|
||||
self.assertIn(
|
||||
"python3 scripts/release_control/status_lookup.py --lane <LANE_ID> --pretty",
|
||||
entrypoint["targeted_lookup_commands"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue