Skip to content

Commit

Permalink
fix(e2e): Update health tests based on Camel 3.14 new health check re…
Browse files Browse the repository at this point in the history
…sponses
  • Loading branch information
astefanutti committed Jan 24, 2022
1 parent d97d09f commit ab4c32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/common/traits/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ab4c32f

Please sign in to comment.