adding waitConnected to linear5 test

This commit is contained in:
Cody Burkard
2014-07-14 14:42:00 -07:00
parent 5a9c74be03
commit ea97dea902
+1 -1
View File
@@ -66,7 +66,7 @@ class testLinearCommon( object ):
def testLinear5( self ): def testLinear5( self ):
"Ping test on a 5-switch topology" "Ping test on a 5-switch topology"
mn = Mininet( LinearTopo( k=5 ), self.switchClass, Host, Controller ) mn = Mininet( LinearTopo( k=5 ), self.switchClass, Host, Controller, waitConnected=True )
dropped = mn.run( mn.ping ) dropped = mn.run( mn.ping )
self.assertEqual( dropped, 0 ) self.assertEqual( dropped, 0 )