adding waitConnected to linear5 test
This commit is contained in:
@@ -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