Commit 8c705367 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a sanity check in Timeout test.

If this check fails, hard and soft checks will produce different results.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2031 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent cded9e93
......@@ -965,6 +965,7 @@ class TestTimeout(NeoTestBase):
self.current = time()
self.timeout = Timeout()
self.timeout.update(self.current)
self.assertTrue(PING_DELAY > PING_TIMEOUT) # Sanity check
def _checkAt(self, n, soft, hard):
at = self.current + n
......
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