Convert multi-patch test to in-memory.

This commit is contained in:
jregan
2018-12-28 07:35:29 -08:00
parent ad7c90b904
commit 95203c58c4
19 changed files with 296 additions and 406 deletions

View File

@@ -27,7 +27,6 @@ import (
"github.com/ghodss/yaml"
"sigs.k8s.io/kustomize/k8sdeps"
"sigs.k8s.io/kustomize/pkg/commands/kustfile"
"sigs.k8s.io/kustomize/pkg/constants"
"sigs.k8s.io/kustomize/pkg/fs"
)
@@ -98,10 +97,6 @@ func TestBuild(t *testing.T) {
}
return nil
})
// sanity check that we found the right folder
if !kustfile.StringInSlice("multiple-patches-noconflict", testcases) {
t.Fatalf("Error locating testcases")
}
for _, testcaseName := range testcases {
t.Run(testcaseName,
func(t *testing.T) {