mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-18 17:01:36 +00:00
removed unwanted check
This commit is contained in:
parent
46b712531d
commit
19d3ead6b8
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user