SIGN IN SIGN UP

[3.13] gh-107851: Fix spurious failures in fcntl eintr tests (GH-121556) (#121585)

On heavily loaded machines, the subprocess may finish its sleep before
the parent process manages to synchronize with it via a failed lock.

This leads to errors like:

  Exception: failed to sync child in 300.3 sec

Use pipes instead to mutually synchronize between parent and child.
(cherry picked from commit af9f6de6ea930b607f948f2c91a87fe4ca9d64db)

Co-authored-by: Sam Gross <colesbury@gmail.com>
M
Miss Islington (bot) committed
0113c56a203c3569013c6d08486ccce2e9b7016b
Parent: 0504f45
Committed by GitHub <noreply@github.com> on 7/10/2024, 3:02:26 PM