From a95fb4ee64b5b4c8bf812ecce99b7b6b9b9a8612 Mon Sep 17 00:00:00 2001 From: Amol Deodhar Date: Tue, 26 Mar 2024 10:02:16 -0400 Subject: [PATCH] Fix test failures --- controller/linodeobjectstoragebucket_controller_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/linodeobjectstoragebucket_controller_test.go b/controller/linodeobjectstoragebucket_controller_test.go index 40a4a6552..7159c87d9 100644 --- a/controller/linodeobjectstoragebucket_controller_test.go +++ b/controller/linodeobjectstoragebucket_controller_test.go @@ -157,7 +157,7 @@ var _ = Describe("lifecycle", Label("lifecycle"), func() { By("creating a secret with access keys") Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(&secret), &secret)).To(Succeed()) - Expect(secret.Data).To(HaveLen(2)) + Expect(secret.Data).To(HaveLen(5)) Expect(string(secret.Data["read_write"])).To(Equal(string("key-0"))) Expect(string(secret.Data["read_only"])).To(Equal(string("key-1"))) @@ -207,7 +207,7 @@ var _ = Describe("lifecycle", Label("lifecycle"), func() { By("re-creating it when it is deleted") Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(&secret), &secret)).To(Succeed()) - Expect(secret.Data).To(HaveLen(2)) + Expect(secret.Data).To(HaveLen(5)) Expect(string(secret.Data["read_write"])).To(Equal("key-0")) Expect(string(secret.Data["read_only"])).To(Equal("key-1"))