Skip to content

Commit

Permalink
Update tests/foreman/destructive/test_capsule_loadbalancer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Gaurav Talreja <[email protected]>
  • Loading branch information
pondrejk and Gauravtalreja1 committed Mar 15, 2024
1 parent b850ab9 commit dd5f3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/destructive/test_capsule_loadbalancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def test_loadbalancer_install_package(
if loadbalancer_setup['setup_capsules']['capsule_1'].hostname in result.stdout
else loadbalancer_setup['setup_capsules']['capsule_2']
)
request.addfinalizer(registered_to_capsule.power_control(state=VmState.RUNNING, ensure=True))
request.addfinalizer(lambda: registered_to_capsule.power_control(state=VmState.RUNNING, ensure=True))

# Remove the packages from the client
result = rhel7_contenthost.execute('yum remove -y tree')
Expand Down

0 comments on commit dd5f3d2

Please sign in to comment.