From fae3798ca9828a674298c6f7b74eb73c8fa97040 Mon Sep 17 00:00:00 2001 From: NIC619 Date: Thu, 5 Dec 2019 14:40:49 +0800 Subject: [PATCH] Apply PR feedback: correct the comment in test --- tests/pubsub/test_gossipsub.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/pubsub/test_gossipsub.py b/tests/pubsub/test_gossipsub.py index 5b70e19..e1d562e 100644 --- a/tests/pubsub/test_gossipsub.py +++ b/tests/pubsub/test_gossipsub.py @@ -161,9 +161,8 @@ async def test_handle_prune(pubsubs_gsub, hosts): # `emit_prune` does not remove bob from alice's mesh peers assert id_bob in gossipsubs[index_alice].mesh[topic] - # FIXME: This test currently works because the heartbeat interval - # is increased to 3 seconds, so alice won't get add back into - # bob's mesh peer during heartbeat. + # NOTE: We increase `heartbeat_interval` to 3 seconds so that bob will not + # add alice back to his mesh after heartbeat. # Wait for bob to `handle_prune` await asyncio.sleep(0.1)