Skip to content

Commit

Permalink
Revert configmap length check to fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hime committed Nov 14, 2024
1 parent 54b1859 commit d001eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit d001eef

Please sign in to comment.