You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2024/05/16 07:57:11 UTC

(camel-k) branch release-2.3.x updated: fix(e2e): Route trait schema valid in OCP

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

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


The following commit(s) were added to refs/heads/release-2.3.x by this push:
     new 8427de1d9 fix(e2e): Route trait schema valid in OCP
8427de1d9 is described below

commit 8427de1d99c52b5585030a9ead95540c64a3b8cf
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())
 		})