Merge "Don't check exit status when nc_client is spawned"

This commit is contained in:
Zuul 2023-06-06 23:34:05 +00:00 committed by Gerrit Code Review
commit 19424c5cf1

@ -636,8 +636,7 @@ class BaseTempestTestCase(base_api.BaseNetworkTest):
"""
cmd = get_ncat_client_cmd(ip_address, port, protocol,
ssh_client=ssh_client)
result = shell.execute(cmd, ssh_client=ssh_client)
self.assertEqual(0, result.exit_status)
result = shell.execute(cmd, ssh_client=ssh_client, check=False)
return result.stdout
def _ensure_public_router(self, client=None, tenant_id=None):