Skip to content

Commit

Permalink
adjust flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
faec committed Jun 6, 2024
1 parent bb4b14d commit ee9e6fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filebeat/input/filestream/internal/task/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ func TestGroup_Go(t *testing.T) {
})

t.Run("without limit, all goroutines run", func(t *testing.T) {
// 100 <= limit <= 100000
limit := rand.Int63n(100000-100) + 100
// 100 <= limit <= 10000
limit := rand.Int63n(10000-100) + 100
t.Logf("running %d goroutines", limit)
g := NewGroup(uint64(limit), time.Second, noopLogger{}, "")

Expand Down

0 comments on commit ee9e6fd

Please sign in to comment.