Browse Source

Fix flaky tests (I hope!)

Jonatas Baldin 5 years ago
parent
commit
866411997a
1 changed files with 0 additions and 5 deletions
  1. 0 5
      pkg/controllers/externalsecret/externalsecret_controller_test.go

+ 0 - 5
pkg/controllers/externalsecret/externalsecret_controller_test.go

@@ -151,11 +151,6 @@ var _ = Describe("ExternalSecret controller", func() {
 
 			Expect(k8sClient.Create(ctx, es)).Should(Succeed())
 
-			Eventually(func() float64 {
-				Expect(syncCallsTotal.WithLabelValues(ExternalSecretName, ExternalSecretNamespace).Write(&metric)).To(Succeed())
-				return metric.GetCounter().GetValue()
-			}, timeout, interval).Should(Equal(2.0))
-
 			createdES := &esv1alpha1.ExternalSecret{}
 
 			Eventually(func() error {