Commit 39ec014f authored by zhifan huang's avatar zhifan huang

low test standard

parent cb4dc998
......@@ -112,7 +112,7 @@ class TestNet(unittest.TestCase):
wait_stable(nodes, 50)
time.sleep(20)
self.assertTrue(wait_stable(nodes, 40), "ping test failed")
self.assertTrue(wait_stable(nodes, 60), "ping test failed")
def test_reboot_one_machine(self):
"""create a network demo, wait the net stable, reboot on machine,
......@@ -130,7 +130,7 @@ class TestNet(unittest.TestCase):
time.sleep(5)
machine.run("-i" + machine.node.iface.name)
self.assertTrue(wait_stable(nodes, 200), "network can't recover")
self.assertTrue(wait_stable(nodes, 300), "network can't recover")
if __name__ == "__main__":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment