Repository navigation
Commit 9c3e734
gh-160561: Fix race in test_socket testFromFdError (GH-160930)
The client thread closes its socket in clientTearDown() concurrently
with the server-side test, so the process-wide fd count could drop
between the two os_helper.fd_count() calls. Wait for the client thread
to finish before taking the first count.
(cherry picked from commit af79f49)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4782565 commit 9c3e734
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3093 | 3093 | | |
3094 | 3094 | | |
3095 | 3095 | | |
| 3096 | + | |
| 3097 | + | |
| 3098 | + | |
3096 | 3099 | | |
3097 | 3100 | | |
3098 | 3101 | | |
| |||
0 commit comments