Fix whitespace error
This commit is contained in:
@@ -18,7 +18,7 @@ class testSimplePerf( unittest.TestCase ):
|
|||||||
"Run the example and verify iperf results"
|
"Run the example and verify iperf results"
|
||||||
# 10 Mb/s, plus or minus 20% tolerance
|
# 10 Mb/s, plus or minus 20% tolerance
|
||||||
BW = 10
|
BW = 10
|
||||||
TOLERANCE = .2
|
TOLERANCE = .2
|
||||||
p = pexpect.spawn( 'python -m mininet.examples.simpleperf testmode' )
|
p = pexpect.spawn( 'python -m mininet.examples.simpleperf testmode' )
|
||||||
# check iperf results
|
# check iperf results
|
||||||
p.expect( "Results: \['10M', '([\d\.]+) .bits/sec", timeout=480 )
|
p.expect( "Results: \['10M', '([\d\.]+) .bits/sec", timeout=480 )
|
||||||
|
|||||||
Reference in New Issue
Block a user