Skip to content

Commit

Permalink
CI fix for CV publish tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Apr 25, 2024
1 parent db9b858 commit f44e21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/api/test_contentview.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def test_negative_publish_during_repo_sync(self, content_view, module_target_sat
task_search = module_target_sat.api.ForemanTask().search(
query={'search': f'{task_action} and started_at >= "{timestamp}"'}
)
assert len(task_search) == 1
assert len(task_search) > 0
task_id = task_search[0].id
# task failed for expected reason
task = module_target_sat.api.ForemanTask(id=task_id).poll(must_succeed=False)
Expand Down

0 comments on commit f44e21c

Please sign in to comment.