Ack Cut 1c tests (Python): the timeout probe uses a clock past the epoch clock

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-30 05:58:29 +02:00
commit 45f98c5638

View file

@ -1207,7 +1207,7 @@ class CultNetTests(unittest.TestCase):
to_server(peer.create_connect(0, b"join"))
server.receive_once()
server.send("schema", b"unanswered")
self.assertTrue(server.check_timeout(0, now_ms=10**12))
self.assertTrue(server.check_timeout(0, now_ms=10**14))
with self.assertRaisesRegex(ConnectionError, "session timed out"):
server.flush_reliable(0.1)
finally: