Skip to content

Commit d3247f4

Browse files
committed
update test case NeverFlushTimeout
1 parent 34d7a76 commit d3247f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aggregator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func TestUnlimitWait(t *testing.T) {
158158
t.Parallel()
159159
max := 2
160160
_, fn := setupTestData(0, max)
161-
a, _ := New(fn, -1, 3).Run()
161+
a, _ := New(fn, NeverFlushTimeout, 3).Run()
162162
var w sync.WaitGroup
163163
w.Add(max)
164164
for i := 1; i <= max; i++ {
@@ -179,7 +179,7 @@ func TestUnlimitWait(t *testing.T) {
179179
t.Parallel()
180180
max := 2
181181
_, fn := setupTestData(0, max)
182-
a, _ := New(fn, -1, 2).Run()
182+
a, _ := New(fn, NeverFlushTimeout, 2).Run()
183183
var w sync.WaitGroup
184184
w.Add(max)
185185
for i := 1; i <= max; i++ {

0 commit comments

Comments
 (0)