summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 19:19:23 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-27 19:19:23 +0100
commitfee2237ca0a1977c774979b83860c19322fab388 (patch)
tree59ea0312294a4c51157f9c1f150effcd85402778 /scripts/check-qemu-install
parent4fdf93f174a420d2e12cdf344da509e55601347a (diff)
downloadvyos-build-fee2237ca0a1977c774979b83860c19322fab388.tar.gz
vyos-build-fee2237ca0a1977c774979b83860c19322fab388.zip
Testsuite: increase testing timeout to 2h
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index a2a7f054..87a34afd 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -203,6 +203,7 @@ if not os.path.isfile(args.disk):
else:
log.info('Diskimage already exists, using the existing one')
+test_timeout = 7200 # seconds
try:
#################################################
# Installing image to disk
@@ -356,7 +357,7 @@ try:
log.info('Executing VyOS smoketests')
c.sendline('/usr/bin/vyos-smoketest')
i = c.expect(['\n +Invalid command:', '\n +Set failed',
- 'No such file or directory', r'\n\S+@\S+[$#]'], timeout=7200)
+ 'No such file or directory', r'\n\S+@\S+[$#]'], timeout=test_timeout)
if i == 0:
raise Exception('Invalid command detected')
@@ -419,7 +420,7 @@ try:
log.info('Executing load config tests')
c.sendline('/usr/bin/vyos-configtest')
i = c.expect(['\n +Invalid command:', 'No such file or directory',
- r'\n\S+@\S+[$#]'], timeout=3600)
+ r'\n\S+@\S+[$#]'], timeout=test_timeout)
if i==0:
raise Exception('Invalid command detected')