Skip to content

Commit

Permalink
network: fix TestSlowPeerDisconnection regression after #5634 (#5874)
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy authored Dec 18, 2023
1 parent 8f8ada5 commit 49f95cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/wsNetwork_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2567,8 +2567,8 @@ func TestSlowPeerDisconnection(t *testing.T) {
GenesisID: genesisID,
NetworkID: config.Devtestnet,
}
wn.broadcaster.slowWritingPeerMonitorInterval = time.Millisecond * 50
wn.setup()
wn.broadcaster.slowWritingPeerMonitorInterval = time.Millisecond * 50
wn.eventualReadyDelay = time.Second
wn.messagesOfInterest = nil // clear this before starting the network so that we won't be sending a MOI upon connection.

Expand Down

0 comments on commit 49f95cd

Please sign in to comment.