You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/25 12:21:11 UTC

[camel-k] branch release-1.8.x updated: fix(e2e): Update health tests based on Camel 3.14 new health check responses

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

astefanutti pushed a commit to branch release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-1.8.x by this push:
     new cdc9613  fix(e2e): Update health tests based on Camel 3.14 new health check responses
cdc9613 is described below

commit cdc9613ab852351b50b6d927249e96d11de9d7e4
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Jan 24 10:08:38 2022 +0100

    fix(e2e): Update health tests based on Camel 3.14 new health check responses
---
 e2e/common/traits/health_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/common/traits/health_test.go b/e2e/common/traits/health_test.go
index 9f2520a..ccd602c 100644
--- a/e2e/common/traits/health_test.go
+++ b/e2e/common/traits/health_test.go
@@ -76,7 +76,7 @@ func TestHealthTrait(t *testing.T) {
 			// And it contains details about the runtime state
 			Eventually(IntegrationCondition(ns, "java", v1.IntegrationConditionReady)).Should(And(
 				WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)),
-				WithTransform(IntegrationConditionMessage, Equal(fmt.Sprintf("[Pod %s runtime is not ready: map[context:UP route:route1:DOWN]]", pod.Name))),
+				WithTransform(IntegrationConditionMessage, HavePrefix(fmt.Sprintf("[Pod %s runtime is not ready: map[consumer:route1:DOWN context:UP", pod.Name))),
 			))
 			// Check the Integration is still in running phase
 			Eventually(IntegrationPhase(ns, "java"), TestTimeoutShort).Should(Equal(v1.IntegrationPhaseRunning))