From 98d82fce5c0e18cc1c1be3e95635fd6ad3b15d7f Mon Sep 17 00:00:00 2001 From: Giovanni Petrantoni <7008900+sinkingsugar@users.noreply.github.com> Date: Mon, 5 Oct 2020 11:35:03 +0900 Subject: [PATCH] fix opportunistic graft in internal 11 testing (#390) --- tests/pubsub/testgossipinternal.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pubsub/testgossipinternal.nim b/tests/pubsub/testgossipinternal.nim index 2cfecb7..3c31160 100644 --- a/tests/pubsub/testgossipinternal.nim +++ b/tests/pubsub/testgossipinternal.nim @@ -63,7 +63,7 @@ suite "GossipSub internal": check gossipSub.peers.len == 15 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 gossipSub.switch.stop()