Skip to content

Commit

Permalink
tests: reduce flakiness in TestSyncRoundWithRemake (algorand#5367)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored May 16, 2023
1 parent 0152eae commit cee1c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/follower_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func TestSyncRoundWithRemake(t *testing.T) {
partitiontest.PartitionTest(t)
t.Parallel()

maxAcctLookback := uint64(100)
maxAcctLookback := uint64(10)

followNode, tempDir := remakeableFollowNode(t, "", maxAcctLookback)
addBlock := func(round basics.Round) {
Expand All @@ -184,7 +184,7 @@ func TestSyncRoundWithRemake(t *testing.T) {
// Part I. redo TestSyncRound
// main differences are:
// * cfg.DisableNetworking = true
// * cfg.MaxAcctLookback = 100 (instead of 4)
// * cfg.MaxAcctLookback = 10 (instead of 4)

addBlock(basics.Round(1))

Expand Down

0 comments on commit cee1c81

Please sign in to comment.