mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 23:51:07 +00:00
fix: check forced failure for nim interop
This commit is contained in:
@ -147,6 +147,8 @@ async def run_echo_test(server_addr: str, messages: list[str]):
|
|||||||
logger.info(f"Got echo: {response}")
|
logger.info(f"Got echo: {response}")
|
||||||
responses.append(response)
|
responses.append(response)
|
||||||
|
|
||||||
|
assert False, "FORCED FAILURE"
|
||||||
|
|
||||||
# Verify echo
|
# Verify echo
|
||||||
assert message == response, (
|
assert message == response, (
|
||||||
f"Echo failed: sent {message!r}, got {response!r}"
|
f"Echo failed: sent {message!r}, got {response!r}"
|
||||||
|
|||||||
Reference in New Issue
Block a user