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

[3.11] gh-102795: Fix use of poll in test_epoll's test_control_and_wait (GH-102796) #104173

Closed

Commits on May 4, 2023

  1. pythongh-102795: Fix use of poll in test_epoll's test_control_and_wait (

    pythonGH-102796)
    
    This test can fail unnecessarily. In the test we wait for events on two
    file descriptors. This is done in a single call to select.epoll's poll()
    function. However, it is valid for the OS to return only one event via
    poll() and the next via a subsequent call to poll(). This rarely
    happens, but it can cause the test to fail despite properly functioning
    polling.
    
    Instead, we poll a second time when necessary.
    (cherry picked from commit c9ecd3e)
    
    Co-authored-by: Kevin Krakauer <kevinGC@users.noreply.github.com>
    kevinGC authored and miss-islington committed May 4, 2023
    Configuration menu
    Copy the full SHA
    f6fe710 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Configuration menu
    Copy the full SHA
    4c0d41b View commit details
    Browse the repository at this point in the history