Skip to content

Commit

Permalink
Ignore ConnectionRefused on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Jauler committed Nov 13, 2024
1 parent b4f3b13 commit 65e8273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nat-lab/tests/uniffi/libtelio_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def shutdown(self, container_or_vm_name: Optional[str] = None):
"Unknown" if container_or_vm_name is None else container_or_vm_name,
)

except Pyro5.errors.ConnectionClosedError as e:
except (Pyro5.errors.ConnectionClosedError, Pyro5.errors.ConnectionRefusedError) as e:
# Shutting down the server via client request is naturally racy,
# as sending of response is racing against process shutdown (and
# thus server-side socket being closed).
Expand Down

0 comments on commit 65e8273

Please sign in to comment.