Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion python/tests/platform/test_pipeline_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def test_events(pipeline_name):

# Map events such that evolution test can be written cleanly
# Consecutive events are removed because it is possible for events to be repeated if a status takes a longer time
# `Unavailable` events are removed because the runner reports them whenever it momentarily
# cannot reach the pipeline, which depends on the environment rather than on the lifecycle
events_status_limited = list(
map(
lambda e1: (
Expand All @@ -192,7 +194,10 @@ def test_events(pipeline_name):
e1["program_status"],
e1["storage_status"],
),
events_status,
filter(
lambda e1: e1["deployment_runtime_status"] != "Unavailable",
events_status,
),
)
)

Expand Down
Loading