Message ID | 20210203172357.1422425-12-crosa@redhat.com |
---|---|
State | New |
Headers | show |
Series | Acceptance Test: introduce base class for Linux based tests | expand |
On 2/3/21 6:23 PM, Cleber Rosa wrote: > Signed-off-by: Cleber Rosa <crosa@redhat.com> > --- > tests/acceptance/linux_ssh_mips_malta.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
On Wed, Feb 3, 2021 at 2:24 PM Cleber Rosa <crosa@redhat.com> wrote: > > Signed-off-by: Cleber Rosa <crosa@redhat.com> > --- > tests/acceptance/linux_ssh_mips_malta.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Willian Rampazzo <willianr@redhat.com>
diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/linux_ssh_mips_malta.py index 275659c785..ab6cb94aef 100644 --- a/tests/acceptance/linux_ssh_mips_malta.py +++ b/tests/acceptance/linux_ssh_mips_malta.py @@ -79,8 +79,8 @@ class LinuxSSH(Test): port = get_info_usernet_hostfwd_port(res) if not port: self.cancel("Failed to retrieve SSH port") - self.log.debug("sshd listening on port:" + port) - self.ssh_session = ssh.Session(self.VM_IP, port=int(port), + self.log.debug("sshd listening on port: %d", port) + self.ssh_session = ssh.Session(self.VM_IP, port=port, user=username, password=password) for i in range(10): try:
Signed-off-by: Cleber Rosa <crosa@redhat.com> --- tests/acceptance/linux_ssh_mips_malta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)