Skip to content

Commit

Permalink
Increase timeout for TestStartCollector
Browse files Browse the repository at this point in the history
Fixes elastic#4814 (hopefully!)
  • Loading branch information
andrzej-stencel committed May 24, 2024
1 parent da6704a commit f78cbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/otel/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestStartCollector(t *testing.T) {
if tc.expectedErrorMessage == "" {
assert.Eventually(t, func() bool {
return otelcol.StateRunning == collector.GetState()
}, 2*time.Second, 200*time.Millisecond)
}, 10*time.Second, 200*time.Millisecond)
}
collector.Shutdown()
wg.Wait()
Expand Down

0 comments on commit f78cbcd

Please sign in to comment.