From 1e9e781c127c280e20dc806b9d53c34ed1c43c0c Mon Sep 17 00:00:00 2001 From: Brian O'Connor Date: Tue, 10 Sep 2013 18:15:28 -0700 Subject: [PATCH] changed 1% to 2% in test_limit.py --- examples/test/test_limit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test/test_limit.py b/examples/test/test_limit.py index ea5ce35..99a8c25 100755 --- a/examples/test/test_limit.py +++ b/examples/test/test_limit.py @@ -10,14 +10,14 @@ import pexpect class testLimit( unittest.TestCase ): def testLimit( self ): - "Verify that CPU limits are within a 1% tolerance of limit for each scheduler" + "Verify that CPU limits are within a 2% tolerance of limit for each scheduler" p = pexpect.spawn( 'python -m mininet.examples.limit' ) opts = [ '\*\*\* Testing network ([\d\.]+) Mbps', '\*\*\* Results: \[([\d\., ]+)\]', pexpect.EOF ] count = 0 bw = 0 - tolerance = 1 + tolerance = 2 while True: index = p.expect( opts ) if index == 0: