Skip to content

Commit

Permalink
Merge "Don't check exit status when nc_client is spawned"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jun 6, 2023
2 parents fd95bf0 + 03bd62e commit 19424c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neutron_tempest_plugin/scenario/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,7 @@ def nc_client(self, ip_address, port, protocol, ssh_client=None):
"""
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):
Expand Down

0 comments on commit 19424c5

Please sign in to comment.