Acceptance tests: clarify ssh connection failure reason

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>
This commit is contained in:
Cleber Rosa 2021-02-03 12:23:47 -05:00 committed by Philippe Mathieu-Daudé
parent d7f57c25e1
commit 4f0d032185
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ class LinuxSSH(Test):
except:
time.sleep(4)
pass
self.fail("sshd timeout")
self.fail("ssh connection timeout")
def ssh_disconnect_vm(self):
self.ssh_session.quit()

View File

@ -106,7 +106,7 @@ class VirtiofsSubmountsTest(BootLinux):
except:
time.sleep(4)
pass
self.fail('sshd timeout')
self.fail('ssh connection timeout')
def ssh_command(self, command):
self.ssh_logger.info(command)