diff --git a/discovery/file/file_test.go b/discovery/file/file_test.go index 4bd91d4785..46b2ff0262 100644 --- a/discovery/file/file_test.go +++ b/discovery/file/file_test.go @@ -434,6 +434,9 @@ func TestInvalidFileUpdate(t *testing.T) { } func TestUpdateFileWithPartialWrites(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("flaky test, see https://github.com/prometheus/prometheus/issues/16212") + } t.Parallel() runner := newTestRunner(t)