diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-17 13:20:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 13:20:15 (GMT) |
commit | 54a1760cde7bb01e5574734c389c0746762218fd (patch) | |
tree | dfa831911af2d765274869e4cb5c5e1d53583590 | |
parent | 6b413551284a94cfe31377c9c607ff890aa06c26 (diff) | |
download | cpython-54a1760cde7bb01e5574734c389c0746762218fd.zip cpython-54a1760cde7bb01e5574734c389c0746762218fd.tar.gz cpython-54a1760cde7bb01e5574734c389c0746762218fd.tar.bz2 |
bpo-45212: Add a comment for time.sleep() in tests (GH-28414)
Co-authored-by: Victor Stinner <vstinner@python.org>
-rwxr-xr-x | Lib/test/test_socket.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 2d7cdb4..d064c67 100755 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -6207,6 +6207,7 @@ class SendfileUsingSendTest(ThreadedTCPSocketTest): def testWithTimeoutTriggeredSend(self): conn = self.accept_conn() conn.recv(88192) + # bpo-45212: the wait here needs to be longer than the client-side timeout (0.01s) time.sleep(1) # errors |