Skip to content

Commit

Permalink
Fix random test failure on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
byllyfish committed Feb 16, 2024
1 parent 66e8e3b commit 99f3807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_p4client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def test_wrong_tls_client_vs_tls_server_wait_for_ready(p4rt_secure_server)


# On Windows, the "Socket closed" message is "End of TCP stream".
_UNAVAILABLE1 = "UNAVAILABLE:.*: (?:Socket closed|End of TCP stream)"
_UNAVAILABLE1 = "UNAVAILABLE:.*: (?:Socket closed|End of TCP stream|recvmsg:Connection reset by peer)"
# On Windows, the "Connection reset by peer" message is "Connection aborted".
_UNAVAILABLE2 = "UNAVAILABLE:.*: (?:Socket closed|End of TCP stream|recvmsg:Connection reset by peer|Connection aborted|Connection reset)"

Expand Down

0 comments on commit 99f3807

Please sign in to comment.