diff --git a/receiver/hostmetricsreceiver/hostmetrics_receiver_test.go b/receiver/hostmetricsreceiver/hostmetrics_receiver_test.go index 4e990f3a2dd..4a4987e29a4 100644 --- a/receiver/hostmetricsreceiver/hostmetrics_receiver_test.go +++ b/receiver/hostmetricsreceiver/hostmetrics_receiver_test.go @@ -126,7 +126,7 @@ func TestGatherMetrics_EndToEnd(t *testing.T) { cancelFn() const tick = 50 * time.Millisecond - const waitFor = time.Second + const waitFor = 5 * time.Second require.Eventuallyf(t, func() bool { got := sink.AllMetrics() if len(got) == 0 {