Commit b53a1025 authored by Jason Madden's avatar Jason Madden

Let checkQuickVerificationWith2Clients use a longer timeaut and raise an...

Let checkQuickVerificationWith2Clients use a longer timeaut and raise an assertion error if the timeout fails. Trying to debug intermittant failures on Travis, seen in all versions of Python.
parent e57c61d1
...@@ -619,8 +619,9 @@ class InvqTests(CommonSetupTearDown): ...@@ -619,8 +619,9 @@ class InvqTests(CommonSetupTearDown):
perstorage = self.openClientStorage(cache="test") perstorage = self.openClientStorage(cache="test")
forker.wait_until( forker.wait_until(
(lambda : perstorage.verify_result == "quick verification"), func=(lambda : perstorage.verify_result == "quick verification"),
onfail=(lambda : None)) timeout=60,
label="perstorage.verify_result to be quick verification")
self.assertEqual(perstorage.verify_result, "quick verification") self.assertEqual(perstorage.verify_result, "quick verification")
self.assertEqual(perstorage._server._last_invals, self.assertEqual(perstorage._server._last_invals,
......
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