adding waitConnected to linear5 test
This commit is contained in:
1 parent
5a9c74be03
commit
ea97dea902
1 file changed
+1
-1
@@ -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 )
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user