You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/08/29 13:14:10 UTC
[camel-k] branch main updated: fix(e2e): fix TestHealthTrait for upgraded Camel 3.18.x
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 3711def4b fix(e2e): fix TestHealthTrait for upgraded Camel 3.18.x
3711def4b is described below
commit 3711def4bcd555c116cabbcfc2445d3d40ab4999
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Mon Aug 29 17:57:19 2022 +0900
fix(e2e): fix TestHealthTrait for upgraded Camel 3.18.x
---
e2e/global/common/traits/health_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/e2e/global/common/traits/health_test.go b/e2e/global/common/traits/health_test.go
index 06a03dad7..e69d84c35 100644
--- a/e2e/global/common/traits/health_test.go
+++ b/e2e/global/common/traits/health_test.go
@@ -100,7 +100,7 @@ func TestHealthTrait(t *testing.T) {
//
Eventually(IntegrationCondition(ns, "java", v1.IntegrationConditionReady), TestTimeoutLong).Should(And(
WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)),
- WithTransform(IntegrationConditionMessage, HavePrefix(fmt.Sprintf("[Pod %s runtime is not ready: map[route.context.name:camel-1 route.id:route1 route.status:Stopped]", pod.Name))),
+ WithTransform(IntegrationConditionMessage, HavePrefix(fmt.Sprintf("[Pod %s runtime is not ready: map[check.kind:READINESS route.id:route1 route.status:Stopped]", pod.Name))),
))
// Check the Integration is still in running phase
Eventually(IntegrationPhase(ns, "java"), TestTimeoutShort).Should(Equal(v1.IntegrationPhaseRunning))