Skip to content

Commit

Permalink
revert time sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
fredcarle committed Jun 25, 2024
1 parent 82e7257 commit 51048b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/p2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func subscribeToCollection(
// The `n.Peer.AddP2PCollections(colIDs)` call above is calling some asynchronous functions
// for the pubsub subscription and those functions can take a bit of time to complete,
// we need to make sure this has finished before progressing.
time.Sleep(1 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
}

// unsubscribeToCollection removes the given collections from subscriptions on the given nodes.
Expand Down

0 comments on commit 51048b2

Please sign in to comment.