Skip to content

Commit

Permalink
Acceptance tests: clarify ssh connection failure reason
Browse files Browse the repository at this point in the history
If the connection to the ssh server fails, it may indeed be a "sshd"
issue, but it may also not be that.  Let's state what we know: the
establishment of the connection from the client side was not possible.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210203172357.1422425-13-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
  • Loading branch information
clebergnu authored and philmd committed Feb 8, 2021
1 parent d7f57c2 commit 4f0d032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/acceptance/linux_ssh_mips_malta.py
Expand Up @@ -91,7 +91,7 @@ def ssh_connect(self, username, password):
except:
time.sleep(4)
pass
self.fail("sshd timeout")
self.fail("ssh connection timeout")

def ssh_disconnect_vm(self):
self.ssh_session.quit()
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/virtiofs_submounts.py
Expand Up @@ -106,7 +106,7 @@ def ssh_connect(self, username, keyfile):
except:
time.sleep(4)
pass
self.fail('sshd timeout')
self.fail('ssh connection timeout')

def ssh_command(self, command):
self.ssh_logger.info(command)
Expand Down

0 comments on commit 4f0d032

Please sign in to comment.