From d001eef96a5eed0e38cc78ee1ba14cea526447a1 Mon Sep 17 00:00:00 2001 From: hime Date: Thu, 14 Nov 2024 20:30:33 +0000 Subject: [PATCH] Revert configmap length check to fix e2e tests --- test/e2e/specs/specs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/specs/specs.go b/test/e2e/specs/specs.go index 2c7b1e87..a0a2ea54 100644 --- a/test/e2e/specs/specs.go +++ b/test/e2e/specs/specs.go @@ -1151,7 +1151,7 @@ func GetGCSFuseVersion(ctx context.Context, client clientset.Interface) string { FieldSelector: "metadata.name=gcsfusecsi-image-config", }) framework.ExpectNoError(err) - gomega.Expect(configMaps.Items).To(gomega.HaveLen(2)) + gomega.Expect(configMaps.Items).To(gomega.HaveLen(1)) sidecarImageConfig := configMaps.Items[0] image := sidecarImageConfig.Data["sidecar-image"]