You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gf...@apache.org on 2024/05/15 22:00:23 UTC

(camel-k) branch main updated: fix(e2e): Route trait schema valid in OCP

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

gfournier 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 ab7192093 fix(e2e): Route trait schema valid in OCP
ab7192093 is described below

commit ab7192093325f18a59914b74d07c80a90b6614e2
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Wed May 15 15:25:38 2024 +0200

    fix(e2e): Route trait schema valid in OCP
---
 e2e/common/traits/route_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/e2e/common/traits/route_test.go b/e2e/common/traits/route_test.go
index ce31bfa61..027bd6d72 100644
--- a/e2e/common/traits/route_test.go
+++ b/e2e/common/traits/route_test.go
@@ -200,7 +200,7 @@ func TestRunRoutes(t *testing.T) {
 			routeTrait, _, _ := unstructured.NestedMap(unstructuredIntegration.Object, "spec", "traits", "route")
 			g.Expect(routeTrait).ToNot(BeNil())
 			g.Expect(len(routeTrait)).To(Equal(1))
-			g.Expect(routeTrait["enabled"]).To(Equal(true))
+			g.Expect(routeTrait["annotations"]).ToNot(BeNil())
 
 			g.Expect(Kamel(t, ctx, "delete", "--all", "-n", ns).Execute()).Should(BeNil())
 		})