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) }