Skip to content

Commit

Permalink
Revert "[chore] Remove skip flaky test for hostmetricsreceiver" (#23982)
Browse files Browse the repository at this point in the history
Reverts #23874. The test
is still flaky on Windows.
  • Loading branch information
mx-psi authored Jul 5, 2023
1 parent f85dd5b commit e9bdc63
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ const (
bootTime = 100
)

// Skips test without applying unused rule
var skip = func(t *testing.T, why string) {
t.Skip(why)
}

func TestScrape(t *testing.T) {
skip(t, "Flaky test. See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/10030")
type testCase struct {
name string
bootTimeFunc func() (uint64, error)
Expand Down

0 comments on commit e9bdc63

Please sign in to comment.