Skip to content

Commit

Permalink
fix test (#142)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <[email protected]>
  • Loading branch information
zroubalik authored May 13, 2022
1 parent 28c5738 commit 5de3fce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions controllers/keda/kedacontroller_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ var _ = Describe("Testing functionality", func() {
manifest, err = createManifest(kedaManifestFilepath, k8sClient)
Expect(err).To(BeNil())
Expect(manifest.Apply()).Should(Succeed())

Expect(manifest.Apply()).Should(Succeed())
})

Context("When changing \"--zap-log-level\"", func() {
Expand Down Expand Up @@ -177,8 +175,7 @@ var _ = Describe("Testing functionality", func() {
variant.initialLogLevel, variant.actualLogLevel), func() {

manifest, err = changeAttribute(manifest, "logLevel", variant.initialLogLevel, scheme)
Expect(err).To(BeNil())
Expect(manifest.Apply()).Should(Succeed())
_ = manifest.Apply()

Eventually(func() error {
_, err = getObject(ctx, "Deployment", deploymentName, namespace, k8sClient)
Expand Down

0 comments on commit 5de3fce

Please sign in to comment.