From 452fd42aeb0390f1915ebcbd7054a7c1308d6533 Mon Sep 17 00:00:00 2001 From: Patryk Prus Date: Mon, 17 Mar 2025 15:29:51 -0400 Subject: [PATCH] Disable additional test as flaky on windows Signed-off-by: Patryk Prus --- discovery/file/file_test.go | 3 +++ 1 file changed, 3 insertions(+) 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)