Skip to content

Commit

Permalink
Increase timeout for emulated build (mininet#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
lantz authored Jan 17, 2021
1 parent e400329 commit 77938e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions util/vm/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 77938e0

Please sign in to comment.