Skip to content

Commit

Permalink
removed unwanted check
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankshampi committed Oct 3, 2024
1 parent 46b7125 commit 19d3ead
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/pubsub/testgossipmembership.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 19d3ead

Please sign in to comment.