Skip to content

Commit

Permalink
tests: Fix MaxConnectionsPerIP setting in agreement/gossip tests
Browse files Browse the repository at this point in the history
* algorand#6171 decreased MaxConnectionsPerIP default value and it is not
  enough for agreement/gossip tests
  • Loading branch information
algorandskiy committed Nov 19, 2024
1 parent a6123b6 commit e7be338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agreement/gossip/networkFull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func testNetworkImplFull(t *testing.T, nodesCount int) {
// which is a different test of logic that agremeent needs to
// deal with.
cfg := config.GetDefaultLocal()
cfg.MaxConnectionsPerIP = nodesCount
cfg.AgreementIncomingVotesQueueLength = 100
cfg.AgreementIncomingProposalsQueueLength = 100
cfg.AgreementIncomingBundlesQueueLength = 100
Expand Down

0 comments on commit e7be338

Please sign in to comment.