[Qemu-devel] [RFC 05/24] avocado_qemu: Increase the login timeout to 60s

Eduardo Habkost posted 24 patches 7 years, 9 months ago
[Qemu-devel] [RFC 05/24] avocado_qemu: Increase the login timeout to 60s
Posted by Eduardo Habkost 7 years, 9 months ago
From: Lukáš Doktor <ldoktor@redhat.com>

The 10s login is quite short, let's use 60s and see whether it fits.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 tests/avocado/avocado_qemu/test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/avocado/avocado_qemu/test.py b/tests/avocado/avocado_qemu/test.py
index fb16785a20..e99c7e9e8d 100644
--- a/tests/avocado/avocado_qemu/test.py
+++ b/tests/avocado/avocado_qemu/test.py
@@ -97,7 +97,7 @@ def _get_qemu_bin(arch):
     return qemu_binary
 
 
-def _handle_prompts(session, username, password, prompt, timeout=10,
+def _handle_prompts(session, username, password, prompt, timeout=60,
                     debug=False):
     """
     Connect to a remote host (guest) using SSH or Telnet or else.
-- 
2.14.3