Skip to content

Commit

Permalink
x-pack/filebeat/input/azureblobstorage: reduce tested maximum worker …
Browse files Browse the repository at this point in the history
…load (#36358) (#36360)

The 3000 workers test case is unreasonably high; there is no real
justification for this many workers operating on a network-bound system
and there is some reason to believe that on some systems this may be
causing system i/o resource depletion and failure of unrelated tests.

(cherry picked from commit 5258cb2)

Co-authored-by: Dan Kortschak <[email protected]>
  • Loading branch information
mergify[bot] and efd6 authored Aug 17, 2023
1 parent 7e70f72 commit 66c616e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/azureblobstorage/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func Test_StorageClient(t *testing.T) {
}

func Test_Concurrency(t *testing.T) {
for _, workers := range []int{100, 1000, 2000, 3000} {
for _, workers := range []int{100, 1000, 2000} {
t.Run(fmt.Sprintf("TestConcurrency_%d_Workers", workers), func(t *testing.T) {
const expectedLen = mock.TotalRandomDataSets
serv := httptest.NewServer(mock.AzureConcurrencyServer())
Expand Down

0 comments on commit 66c616e

Please sign in to comment.