Skip to content

Commit

Permalink
[6.15.z] changes in test_positive_run_job_on_host_converted_to_pull_p…
Browse files Browse the repository at this point in the history
…rovider (#14396)
  • Loading branch information
Satellite-QE authored Mar 13, 2024
1 parent 139c3ec commit 12d4012
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/foreman/cli/test_remoteexecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -1302,15 +1302,11 @@ def test_positive_run_job_on_host_converted_to_pull_provider(
assert_job_invocation_result(
module_target_sat, invocation_command['id'], rhel_contenthost.hostname
)
# check katello-agent runs along ygdrassil (SAT-1671)
result = rhel_contenthost.execute('systemctl status goferd')
assert result.status == 0, 'Failed to start goferd on client'

# run Ansible rex command to prove ssh provider works, remove katello-agent
invocation_command = module_target_sat.cli_factory.job_invocation(
{
'job-template': 'Package Action - Ansible Default',
'inputs': 'state=absent, name=katello-agent',
'job-template': 'Remove Package - Katello Script Default',
'inputs': 'package=katello-agent',
'search-query': f"name ~ {rhel_contenthost.hostname}",
}
)
Expand Down

0 comments on commit 12d4012

Please sign in to comment.