diff --git a/kyaml/kio/pkgio_reader_test.go b/kyaml/kio/pkgio_reader_test.go index 3af6fcfa3..a6df5ec10 100644 --- a/kyaml/kio/pkgio_reader_test.go +++ b/kyaml/kio/pkgio_reader_test.go @@ -5,6 +5,7 @@ package kio_test import ( "path/filepath" + "runtime" "strings" "testing" @@ -535,6 +536,11 @@ func testOnDiskAndOnMem(t *testing.T, files []mockFile, f func(t *testing.T, pat f(t, s.Root, nil) }) + // TODO: Once fsnode supports Windows, we should also run the tests below. + if runtime.GOOS == "windows" { + return + } + t.Run("on_mem", func(t *testing.T) { fs := filesys.MakeFsInMemory() for _, file := range files {