From 338c6f69c4a07f1f02aaa2c6b5154a2a3f8a44e7 Mon Sep 17 00:00:00 2001 From: Guy Daich Date: Tue, 26 Mar 2024 10:05:14 -0500 Subject: [PATCH] fix: use correct connection limit attribute name in e2e, docs (#3028) fix attribute name Signed-off-by: Guy Daich Signed-off-by: Yael Shechter --- site/content/en/latest/user/traffic/connection-limit.md | 2 +- test/e2e/testdata/connection-limit.yaml | 4 ++-- test/e2e/tests/connection_limit.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/content/en/latest/user/traffic/connection-limit.md b/site/content/en/latest/user/traffic/connection-limit.md index 22661b2378c..ac9acc02844 100644 --- a/site/content/en/latest/user/traffic/connection-limit.md +++ b/site/content/en/latest/user/traffic/connection-limit.md @@ -71,7 +71,7 @@ spec: name: eg namespace: default connection: - limit: + connectionLimit: value: 5 EOF ``` diff --git a/test/e2e/testdata/connection-limit.yaml b/test/e2e/testdata/connection-limit.yaml index bfba25bf7ed..998a26191fd 100644 --- a/test/e2e/testdata/connection-limit.yaml +++ b/test/e2e/testdata/connection-limit.yaml @@ -9,8 +9,8 @@ spec: kind: Gateway name: connection-limit-gateway namespace: gateway-conformance-infra - connectionLimit: - limit: + connection: + connectionLimit: value: 5 --- apiVersion: gateway.networking.k8s.io/v1 diff --git a/test/e2e/tests/connection_limit.go b/test/e2e/tests/connection_limit.go index 5ecacc9d1f1..220be1a5616 100644 --- a/test/e2e/tests/connection_limit.go +++ b/test/e2e/tests/connection_limit.go @@ -27,7 +27,7 @@ import ( ) func init() { - // ConformanceTests = append(ConformanceTests, ConnectionLimitTest) + ConformanceTests = append(ConformanceTests, ConnectionLimitTest) } var ConnectionLimitTest = suite.ConformanceTest{