Skip to content

Commit

Permalink
Fix flickering test
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Jul 20, 2023
1 parent c56b6f8 commit 8c75f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/models/publishing_pipeline_state_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
assert_equal [pa1, pa2].sort, PublishingPipelineState.expired_pipelines.sort
PublishingPipelineState.expire_pipelines!

assert_equal ["created", "expired"], PublishingPipelineState.latest_pipeline(podcast).map(&:status)
assert_equal ["created", "expired"], PublishingPipelineState.latest_pipeline(podcast2).map(&:status)
assert_equal ["created", "expired"].sort, PublishingPipelineState.latest_pipeline(podcast).map(&:status).sort
assert_equal ["created", "expired"].sort, PublishingPipelineState.latest_pipeline(podcast2).map(&:status).sort

# All pipelines are in a terminal state
# There is nothing running:
Expand Down

0 comments on commit 8c75f89

Please sign in to comment.