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:
Bob Lantz
2018-07-10 07:41:19 -07:00
parent 34b1f4161a
commit 82998cac8b
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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 )