From 60b3fd15f6c309c09964b7841ec1d62657cfa872 Mon Sep 17 00:00:00 2001 From: Istvan Kispal Date: Sun, 24 Nov 2024 13:43:35 +0100 Subject: [PATCH] Minor fix in e2e test "TestPodEvaluatorWithLargeObjects" --- test/e2e/e2e_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 85daeb03..afe5798b 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -2297,10 +2297,7 @@ data: if err != nil { t.Errorf("failed to parse object: %v", err) } - switch node.GetName() { - case "kptfile.kpt.dev": - continue - case "test-data": + if node.GetName() == "test-data" { f := node.Field("data") if f.IsNilOrEmpty() { t.Fatalf("couldn't find data field in test-data")