This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 348666c8740453b99022cf44e3bb238da3444007
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Wed Sep 13 09:37:02 2023 +0200

    fix(e2e): check snapshot version
---
 e2e/install/upgrade/olm_upgrade_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/install/upgrade/olm_upgrade_test.go 
b/e2e/install/upgrade/olm_upgrade_test.go
index 4b1fb92b5..98e4ad3c7 100644
--- a/e2e/install/upgrade/olm_upgrade_test.go
+++ b/e2e/install/upgrade/olm_upgrade_test.go
@@ -217,7 +217,7 @@ func TestOLMOperatorUpgrade(t *testing.T) {
                        // Check a new kit is created with the current version
                        Eventually(Kits(ns, 
KitWithVersionPrefix(newIPVersionMajorMinorPatch))).Should(HaveLen(2))
                        // Check the new kit is ready
-                       Eventually(Kits(ns, 
KitWithVersion(newIPVersionMajorMinorPatch), 
KitWithPhase(v1.IntegrationKitPhaseReady)),
+                       Eventually(Kits(ns, 
KitWithVersionPrefix(newIPVersionMajorMinorPatch), 
KitWithPhase(v1.IntegrationKitPhaseReady)),
                                TestTimeoutMedium).Should(HaveLen(2))
 
                        kit := Kits(ns, 
KitWithVersionPrefix(newIPVersionMajorMinorPatch), 
KitWithLabels(map[string]string{"camel.apache.org/created.by.name": name}))()[0]

Reply via email to