Skip to content

Commit

Permalink
🧪 Enable retries of test_peercreds_unix_sock
Browse files Browse the repository at this point in the history
This test was noticed to fail flakily with a socket read timeout under
slow envs like PyPy. The following attempt succeeds.

https://github.com/cherrypy/cheroot/actions/runs/4449504944/jobs/7813820004?pr=516#step:20:1844
  • Loading branch information
webknjaz committed Mar 17, 2023
1 parent 3233130 commit 7aa5759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cheroot/test/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def peercreds_enabled_server(http_server, unix_sock_file):

@unix_only_sock_test
@non_macos_sock_test
@pytest.mark.flaky(reruns=3, reruns_delay=2)
def test_peercreds_unix_sock(http_request_timeout, peercreds_enabled_server):
"""Check that ``PEERCRED`` lookup works when enabled."""
httpserver = peercreds_enabled_server
Expand Down

0 comments on commit 7aa5759

Please sign in to comment.