diff --git a/pkg/skaffold/deploy/helm_test.go b/pkg/skaffold/deploy/helm_test.go index ca94a7d4baa..acafb5e01d7 100644 --- a/pkg/skaffold/deploy/helm_test.go +++ b/pkg/skaffold/deploy/helm_test.go @@ -25,6 +25,7 @@ import ( "os" "os/exec" "runtime" + "sort" "strings" "testing" @@ -837,6 +838,8 @@ func TestGetSetFileValues(t *testing.T) { testutil.Run(t, test.description, func(t *testutil.T) { inMap := map[string]bool{} actual := generateGetFilesArgs(test.files, inMap) + sort.Strings(test.expected) + sort.Strings(actual) t.CheckDeepEqual(test.expected, actual) t.CheckDeepEqual(test.expectedMap, inMap) })