Add more waittime for mesh test

This commit is contained in:
aya 2025-03-19 12:27:37 +02:00
parent 4d2c8b7cfd
commit a2c861f972

View File

@ -134,6 +134,7 @@ func TestDiscv5PeerMeshCount(t *testing.T) {
Debug("Waiting for nodes to auto-connect via Discv5")
err = WaitForAutoConnection([]*WakuNode{node1, node2, node3})
require.NoError(t, err, "Nodes did not auto-connect within timeout")
time.Sleep(time.Second * 10)
Debug("Fetching number of peers in mesh for Node1 before stopping Node3")
peerCountBefore, err := node1.GetNumPeersInMesh(defaultPubsubTopic)