Skip to content

Commit

Permalink
Fixed one github-workflow test issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
frobnitzem committed Oct 9, 2024
1 parent 17e7089 commit 3c2b0ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_ca.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
def client(sock, data) -> None:
print('Sending: {}'.format(data))
sock.send(data.encode())
rep = sock.recv(128)
print('Received: {}'.format(rep))
try:
rep = sock.recv(128)
print('Received: {}'.format(rep))
except ConnectionResetError:
pass

@ssl_ify("server")
def echo_server(sock) -> None:
Expand Down

0 comments on commit 3c2b0ad

Please sign in to comment.