Skip to content

Commit 138b972

Browse files
committed
feat chaos: better logging
commit_hash:d807ba4a2fde6da28bf45f45e65015d4ae819228
1 parent c82c041 commit 138b972

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testsuite/tests/chaos/test_tcp_chaos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def __init__(self, sock: AsyncioSocket):
5353
self._sock = sock
5454

5555
async def accept(self) -> AsyncioSocket:
56+
logger.debug(f'Accepting connections on {self._sock.getsockname()}')
5657
server_connection, _ = await self._sock.accept()
58+
logger.debug(f'Accepted a connection on {server_connection.getsockname()}')
5759
return server_connection
5860

5961
def get_port(self) -> int:

0 commit comments

Comments
 (0)