Skip to content

Commit 83c628b

Browse files
committed
relax timing
1 parent 88f23ed commit 83c628b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/acquisition/modules/file/file_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ force_inotify: true`, testPattern),
352352
require.NoError(t, err)
353353
err = f.Close()
354354
require.NoError(t, err)
355-
time.Sleep(1 * time.Second)
355+
time.Sleep(5 * time.Second)
356356
err = os.Chmod(f.Name(), 0o000)
357357
require.NoError(t, err)
358358
},
@@ -451,7 +451,7 @@ force_inotify: true`, testPattern),
451451

452452
require.Eventually(t, func() bool {
453453
return actualLines.Load() == int64(tc.expectedLines)
454-
}, 5*time.Second, 100*time.Millisecond)
454+
}, 10*time.Second, 100*time.Millisecond)
455455

456456
os.Remove(streamLogFile)
457457

0 commit comments

Comments
 (0)