mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Testsuite: increase smoketest timeout as we do more and more tests
This commit is contained in:
parent
32d564eb3c
commit
c79c13cee6
@ -330,7 +330,7 @@ try:
|
|||||||
i = c.expect(['\n +Invalid command:',
|
i = c.expect(['\n +Invalid command:',
|
||||||
'\n +Set failed',
|
'\n +Set failed',
|
||||||
'No such file or directory',
|
'No such file or directory',
|
||||||
r'\n\S+@\S+[$#]'], timeout=3600)
|
r'\n\S+@\S+[$#]'], timeout=7200)
|
||||||
|
|
||||||
if i==0:
|
if i==0:
|
||||||
raise Exception('Invalid command detected')
|
raise Exception('Invalid command detected')
|
||||||
@ -341,7 +341,7 @@ try:
|
|||||||
raise Exception("WTF? did not find VyOS smoketest, this should be an exception")
|
raise Exception("WTF? did not find VyOS smoketest, this should be an exception")
|
||||||
|
|
||||||
c.sendline('echo EXITCODE:$\x16?')
|
c.sendline('echo EXITCODE:$\x16?')
|
||||||
i = c.expect(['EXITCODE:0', 'EXITCODE:\d+'], timeout=10)
|
i = c.expect(['EXITCODE:0', 'EXITCODE:\d+'], timeout=20)
|
||||||
if i==0:
|
if i==0:
|
||||||
log.info('Smoketest finished successfully!')
|
log.info('Smoketest finished successfully!')
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user