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:',
|
||||
'\n +Set failed',
|
||||
'No such file or directory',
|
||||
r'\n\S+@\S+[$#]'], timeout=3600)
|
||||
r'\n\S+@\S+[$#]'], timeout=7200)
|
||||
|
||||
if i==0:
|
||||
raise Exception('Invalid command detected')
|
||||
@ -341,7 +341,7 @@ try:
|
||||
raise Exception("WTF? did not find VyOS smoketest, this should be an exception")
|
||||
|
||||
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:
|
||||
log.info('Smoketest finished successfully!')
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user