Skip to content

Commit b08d7b6

Browse files
authored
[chore][receiver/hostmetrics] increase timeout to avoid test flakyness (open-telemetry#44059)
<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#43923 Reasoning [here](open-telemetry#43923 (comment)) Signed-off-by: odubajDT <[email protected]>
1 parent f3c92f3 commit b08d7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

receiver/hostmetricsreceiver/hostmetrics_receiver_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ func TestGatherMetrics_EndToEnd(t *testing.T) {
118118
// canceling the context provided to Start should not cancel any async processes initiated by the receiver
119119
cancelFn()
120120

121-
const tick = 50 * time.Millisecond
122-
const waitFor = 10 * time.Second
121+
const tick = 200 * time.Millisecond
122+
const waitFor = 30 * time.Second
123123
require.Eventuallyf(t, func() bool {
124124
got := sink.AllMetrics()
125125
if len(got) == 0 {

0 commit comments

Comments
 (0)