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 02615fd68e82ca51d4a9c3dd0e09eb3162a9e7f0
Author: Mert Öztürk <[email protected]>
AuthorDate: Sun Apr 30 22:27:28 2023 +0200

    fix(e2e): add missing checks
---
 e2e/common/traits/health_test.go | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/e2e/common/traits/health_test.go b/e2e/common/traits/health_test.go
index 720b7c2af..535dd8a72 100644
--- a/e2e/common/traits/health_test.go
+++ b/e2e/common/traits/health_test.go
@@ -409,10 +409,7 @@ func TestHealthTrait(t *testing.T) {
                        WithTransform(IntegrationConditionMessage, Equal("1/1 
ready replicas"))))
 
                Satisfy(func(is *v1.IntegrationSpec) bool {
-
-                       enabled := is.Traits.Health.Enabled
-
-                       if *enabled {
+                       if *is.Traits.Health.Enabled == true && 
*is.Traits.Health.StartupProbeEnabled == true && 
is.Traits.Health.StartupTimeout == 60 {
                                return true
                        }
                        return false

Reply via email to