Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix more test_spawn_broken_pipe races #19587

Merged

Commits on Nov 8, 2023

  1. test: fix more test_spawn_broken_pipe races

    On old Python versions, we can get the process-exited callback from the
    child watcher at the time of registration, without a return to the
    mainloop.  That means that for very fast-exiting processes, we might
    never get a chance to write to them to observe a EPIPE error.
    
    Add a synchronization point so that we can prevent the process from
    exiting until after we've finished spawning it (and registering the
    watch).
    
    Closes cockpit-project#19586
    allisonkarlitskaya committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    f919d98 View commit details
    Browse the repository at this point in the history