diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-27 19:19:23 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-27 19:19:23 +0100 |
commit | fee2237ca0a1977c774979b83860c19322fab388 (patch) | |
tree | 59ea0312294a4c51157f9c1f150effcd85402778 /scripts/check-qemu-install | |
parent | 4fdf93f174a420d2e12cdf344da509e55601347a (diff) | |
download | vyos-build-fee2237ca0a1977c774979b83860c19322fab388.tar.gz vyos-build-fee2237ca0a1977c774979b83860c19322fab388.zip |
Testsuite: increase testing timeout to 2h
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-x | scripts/check-qemu-install | 5 |
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') |