Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ suite "GossipSub Component - Heartbeat":
),
pruneBackoff = 20.milliseconds,
opportunisticGraftThreshold = 600,
heartbeatInterval = 500.milliseconds,
heartbeatInterval = 1000.milliseconds,
)
.toGossipSub()
node0 = nodes[0]
Expand All @@ -125,6 +125,10 @@ suite "GossipSub Component - Heartbeat":
subscribeAllNodes(nodes, topic, voidTopicHandler)
waitSubscribeHub(node0, nodes[1 .. ^1], topic)

# Wait for beginning of the heartbeat to increase chances for
# peer graft to happen within same heartbeat
await node0.waitForNextHeartbeat()

# Keep track of initial mesh of Node0
let startingMesh = node0.mesh[topic].toSeq()

Expand Down
Loading