Skip to content

Commit

Permalink
Increased the time poll time for Eventually block
Browse files Browse the repository at this point in the history
Signed-off-by: jubittajohn <jujohn@redhat.com>
  • Loading branch information
jubittajohn committed Aug 4, 2023
1 parent 1c2bef0 commit a84335f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/operator-framework-e2e/operator_framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,13 +724,13 @@ func createCatalogCheckResources(operatorCatalog *catalogd.Catalog, catalogDInfo
Eventually(func(g Gomega) {
err = validateCatalogUnpacking(operatorCatalog)
g.Expect(err).ToNot(HaveOccurred())
}, 60*time.Second, 1).Should(Succeed())
}, 2*time.Minute, 1).Should(Succeed())

// checking if the packages are created
Eventually(func(g Gomega) {
err = validatePackageCreation(operatorCatalog, catalogDInfo.operatorName)
g.Expect(err).ToNot(HaveOccurred())
}, 60*time.Second, 1).Should(Succeed())
}, 2*time.Minute, 1).Should(Succeed())

// checking if the bundle metadatas are created
By("Eventually checking if bundle metadata is created")
Expand All @@ -747,19 +747,19 @@ func checkOperatorOperationsSuccess(operator *operatorv1alpha1.Operator, pkgName
Eventually(func(g Gomega) {
err := validateResolutionAndBundlePath(operator)
g.Expect(err).ToNot(HaveOccurred())
}, 60*time.Second, 1).Should(Succeed())
}, 2*time.Minute, 1).Should(Succeed())

// checking for a successful operator installation
Eventually(func(g Gomega) {
err := validateOperatorInstallation(operator, opVersion)
g.Expect(err).ToNot(HaveOccurred())
}, 60*time.Second, 1).Should(Succeed())
}, 2*time.Minute, 1).Should(Succeed())

// checking for a successful package installation
Eventually(func(g Gomega) {
err := validatePackageInstallation(operator)
g.Expect(err).ToNot(HaveOccurred())
}, 60*time.Second, 1).Should(Succeed())
}, 2*time.Minute, 1).Should(Succeed())

// verifying the presence of relevant manifest from the bundle on cluster
Eventually(func(g Gomega) {
Expand Down

0 comments on commit a84335f

Please sign in to comment.