Repository navigation
Commit 1bbe7e9
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 8fe7cfa commit 1bbe7e9
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3178 | 3178 | | |
3179 | 3179 | | |
3180 | 3180 | | |
| 3181 | + | |
| 3182 | + | |
| 3183 | + | |
3181 | 3184 | | |
3182 | 3185 | | |
3183 | 3186 | | |
| |||
0 commit comments