We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e98e9f commit 5d77b60Copy full SHA for 5d77b60
tests/integration/ssh/test_plugin_ssh.py
@@ -9,6 +9,7 @@
9
COMMAND_JSON_OUTPUT,
10
get_random_text,
11
wait_for_condition,
12
+ exec_failing_test_command,
13
)
14
15
TEST_REGION = "us-southeast"
@@ -83,9 +84,9 @@ def test_help():
83
84
85
@pytest.mark.skipif(platform == "win32", reason="Test N/A on Windows")
86
def test_ssh_instance_provisioning(target_instance: Dict[str, Any]):
- process = exec_test_command(BASE_CMD + ["root@" + target_instance["label"]])
87
+ process = exec_failing_test_command(BASE_CMD + ["root@" + target_instance["label"]], expected_code=2)
88
assert process.returncode == 2
- output = process.stdout.decode()
89
+ output = process.stderr.decode()
90
91
assert "is not running" in output
92
0 commit comments