Skip to content

Commit db7f162

Browse files
authored
tests: Fix MaxConnectionsPerIP setting in agreement/gossip tests (algorand#6173)
1 parent ce9b2b0 commit db7f162

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agreement/gossip/networkFull_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ func testNetworkImplFull(t *testing.T, nodesCount int) {
362362
// which is a different test of logic that agremeent needs to
363363
// deal with.
364364
cfg := config.GetDefaultLocal()
365+
cfg.MaxConnectionsPerIP = nodesCount
365366
cfg.AgreementIncomingVotesQueueLength = 100
366367
cfg.AgreementIncomingProposalsQueueLength = 100
367368
cfg.AgreementIncomingBundlesQueueLength = 100

0 commit comments

Comments
 (0)