SIGN IN SIGN UP

gh-138122: Make sampling profiler integration tests more resilient (#142382)

The tests were flaky on slow machines because subprocesses could finish
before enough samples were collected. This adds synchronization similar
to test_external_inspection: test scripts now signal when they start
working, and the profiler waits for this signal before sampling.

Test scripts now run in infinite loops until killed rather than for
fixed iterations, ensuring the profiler always has active work to
sample regardless of machine speed.
P
Pablo Galindo Salgado committed
ef51a7c8f3f4511ad18ee310798883d15bc6d9b7
Parent: ff2577f
Committed by GitHub <noreply@github.com> on 12/7/2025, 10:41:15 PM