Skip to content

Commit a84335f

Browse files
committed
Increased the time poll time for Eventually block
Signed-off-by: jubittajohn <[email protected]>
1 parent 1c2bef0 commit a84335f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/operator-framework-e2e/operator_framework_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -724,13 +724,13 @@ func createCatalogCheckResources(operatorCatalog *catalogd.Catalog, catalogDInfo
724724
Eventually(func(g Gomega) {
725725
err = validateCatalogUnpacking(operatorCatalog)
726726
g.Expect(err).ToNot(HaveOccurred())
727-
}, 60*time.Second, 1).Should(Succeed())
727+
}, 2*time.Minute, 1).Should(Succeed())
728728

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

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

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

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

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

0 commit comments

Comments
 (0)