waitConnected and debug output for testMultiPing
This test fails periodically on Travis (#714) Hopefully waiting for connection will make it more reliable, and if not then the debug output will help.
This commit is contained in:
@@ -45,7 +45,7 @@ def multiping( netsize, chunksize, seconds):
|
||||
|
||||
# Create network and identify subnets
|
||||
topo = SingleSwitchTopo( netsize )
|
||||
net = Mininet( topo=topo )
|
||||
net = Mininet( topo=topo, waitConnected=True )
|
||||
net.start()
|
||||
hosts = net.hosts
|
||||
subnets = chunks( hosts, chunksize )
|
||||
|
||||
Reference in New Issue
Block a user