fix opportunistic graft in internal 11 testing (#390)

This commit is contained in:
Giovanni Petrantoni 2020-10-05 11:35:03 +09:00 committed by GitHub
parent 0f2435f551
commit 98d82fce5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ suite "GossipSub internal":
check gossipSub.peers.len == 15 check gossipSub.peers.len == 15
await gossipSub.rebalanceMesh(topic) await gossipSub.rebalanceMesh(topic)
check gossipSub.mesh[topic].len == GossipSubD + 2 # account opportunistic grafts check gossipSub.mesh[topic].len == GossipSubD # + 2 # account opportunistic grafts
await allFuturesThrowing(conns.mapIt(it.close())) await allFuturesThrowing(conns.mapIt(it.close()))
await gossipSub.switch.stop() await gossipSub.switch.stop()