Skip to content

Commit 1356ae5

Browse files
committed
Added a comment on the timeout in test_client_certificate.
1 parent 284ded4 commit 1356ae5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/trio/_tests/test_ssl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,8 @@ def client() -> None:
587587
# thread therefore finishes, setting client_done. With the old
588588
# _ssl.py, the thread hangs and will be abandoned after the timeout,
589589
# leaving client_done unset and thereby triggering the assertion error.
590+
# (The general timeout imposed on tests is not only too long for this,
591+
# but it also doesn't work, because the thread is not abandoned.)
590592
#
591593
# Potential problem: determinism. It is highly unlikely but I guess it
592594
# could happen that the client thread doesn't get from .recv to

0 commit comments

Comments
 (0)