Increase timeout for emulated build (#1009)

This commit is contained in:
lantz
2021-01-16 19:21:00 -08:00
committed by GitHub
parent e4003290e0
commit 77938e0a85
+5 -2
View File
@@ -662,8 +662,11 @@ def interact( vm, tests, pre='', post='', prompt=Prompt,
vm.expect ( 'password for mininet: ' )
vm.sendline( 'mininet' )
log( '* Waiting for script to complete... ' )
# Gigantic timeout for now ;-(
vm.expect( 'Done preparing Mininet', timeout=3600 )
# Long timeout since we may be on cloud CI
# 30min for kvm, 1.5hr for emulation
# TODO: detect installation errors
timeout = 5200 if NoKVM else 1800
vm.expect( 'Done preparing Mininet', timeout=timeout )
log( '* Completed successfully' )
vm.expect( prompt )
version = getMininetVersion( vm )