Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] CLI - Testing evm stop command #9858

Merged
merged 5 commits into from
Jan 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions cfme/tests/cli/test_appliance_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,9 +798,8 @@ def test_appliance_console_ha_dc_re_establish():
pass


@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_evm_stop():
def test_appliance_console_evm_stop(temp_appliance_preconfig_funcscope):
"""
test stopping the evm server process

Expand All @@ -822,7 +821,16 @@ def test_appliance_console_evm_stop():
4.
5. Cross-check service stopped.
"""
pass
appliance = temp_appliance_preconfig_funcscope
command_set = ("ap", RETURN, "16", TimedCommand("Y", 60))
appliance.appliance_console.run_commands(command_set, timeout=30)
wait_for(lambda: appliance.evmserverd.running,
delay=10,
timeout=300,
fail_condition=True,
message='Waiting to stop EVM service',
fail_func=appliance.evmserverd.running
)


@pytest.mark.tier(2)
Expand Down