Skip to content

Commit

Permalink
Fix foreman service test (#14583)
Browse files Browse the repository at this point in the history
(cherry picked from commit 932b588)
  • Loading branch information
Griffin-Sullivan authored and web-flow committed Apr 3, 2024
1 parent 98d302c commit ef8bdc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/maintain/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ def test_positive_foreman_service(sat_maintain):
assert 'foreman' in result.stdout
result = sat_maintain.cli.Service.status(options={'only': 'httpd'})
assert result.status == 0
result = sat_maintain.cli.Health.check(options={'assumeyes': True})
result = sat_maintain.cli.Health.check(
options={'assumeyes': True, 'whitelist': 'check-tftp-storage'}
)
assert result.status == 0
assert 'foreman' in result.stdout
assert sat_maintain.cli.Service.start(options={'only': 'foreman'}).status == 0
Expand Down

0 comments on commit ef8bdc4

Please sign in to comment.