From d28c87395e18482545b9df6cd5e953965e78f05a Mon Sep 17 00:00:00 2001 From: apostasie Date: Tue, 15 Oct 2024 16:02:53 -0700 Subject: [PATCH] Mark flaky tests Signed-off-by: apostasie --- cmd/nerdctl/image/image_list_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/nerdctl/image/image_list_test.go b/cmd/nerdctl/image/image_list_test.go index 01acaf29a02..48efdef66f8 100644 --- a/cmd/nerdctl/image/image_list_test.go +++ b/cmd/nerdctl/image/image_list_test.go @@ -18,6 +18,7 @@ package image import ( "fmt" + "runtime" "slices" "strings" "testing" @@ -117,6 +118,13 @@ func TestImages(t *testing.T) { }, } + if runtime.GOOS == "windows" { + testCase.Require = test.Require( + testCase.Require, + nerdtest.IsFlaky("https://github.com/containerd/nerdctl/issues/3524"), + ) + } + testCase.Run(t) }