Skip to content

Commit

Permalink
update test case NeverFlushTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
serkodev committed Mar 4, 2022
1 parent 34d7a76 commit d3247f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TestUnlimitWait(t *testing.T) {
t.Parallel()
max := 2
_, fn := setupTestData(0, max)
a, _ := New(fn, -1, 3).Run()
a, _ := New(fn, NeverFlushTimeout, 3).Run()
var w sync.WaitGroup
w.Add(max)
for i := 1; i <= max; i++ {
Expand All @@ -179,7 +179,7 @@ func TestUnlimitWait(t *testing.T) {
t.Parallel()
max := 2
_, fn := setupTestData(0, max)
a, _ := New(fn, -1, 2).Run()
a, _ := New(fn, NeverFlushTimeout, 2).Run()
var w sync.WaitGroup
w.Add(max)
for i := 1; i <= max; i++ {
Expand Down

0 comments on commit d3247f4

Please sign in to comment.