[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port
From: |
Cleber Rosa |
Subject: |
[PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port as integer |
Date: |
Wed, 3 Feb 2021 12:23:46 -0500 |
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/acceptance/linux_ssh_mips_malta.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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:
--
2.25.4
- Re: [PATCH 21/22] Acceptance Tests: introduce CPU hotplug test, (continued)
- [PATCH 22/22] [NOTFORMERGE] Bump Avocado version to latest master, Cleber Rosa, 2021/02/03
- [PATCH 01/22] tests/acceptance/boot_linux.py: fix typo on cloudinit error message, Cleber Rosa, 2021/02/03
- [PATCH 08/22] tests/acceptance/virtiofs_submounts.py: standardize port as integer, Cleber Rosa, 2021/02/03
- [PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port as integer,
Cleber Rosa <=
- [PATCH 12/22] Acceptance tests: clarify ssh connection failure reason, Cleber Rosa, 2021/02/03
- [PATCH 13/22] tests/acceptance/virtiofs_submounts.py: add missing accel tag, Cleber Rosa, 2021/02/03
- [PATCH 06/22] tests/acceptance/virtiofs_submounts.py: use a virtio-net device instead, Cleber Rosa, 2021/02/03