removed unwanted check

This commit is contained in:
shashankshampi 2024-10-03 16:04:22 +05:30
parent 46b712531d
commit 19d3ead6b8
1 changed files with 0 additions and 4 deletions

View File

@ -98,10 +98,6 @@ suite "GossipSub Topic Membership Tests":
# Stop the gossipSub switch and wait for it to stop completely
await gossipSub.switch.stop()
# Verify that connections have been closed and cleaned up after shutdown
for peer in gossipSub.peers.values:
check peer.sendConn == nil or peer.sendConn.closed()
# Simulate an UNSUBSCRIBE to the topic and check if the topic is removed from the relevant data structures but remains in gossipsub
asyncTest "handle UNSUBSCRIBE to the topic":
let topic = "test-topic"