Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
amold1 committed Mar 26, 2024
1 parent d8ae66e commit a95fb4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/linodeobjectstoragebucket_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")))

Expand Down Expand Up @@ -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"))

Expand Down

0 comments on commit a95fb4e

Please sign in to comment.