From e7fab31d5dd038943ac8ebd48e16050b983e2b00 Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Tue, 1 Aug 2023 15:55:52 -0700 Subject: [PATCH] use a different status code Signed-off-by: Arko Dasgupta --- test/e2e/testdata/envoy-patch-policy.yaml | 4 ++-- test/e2e/tests/envoy-patch-policy.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/testdata/envoy-patch-policy.yaml b/test/e2e/testdata/envoy-patch-policy.yaml index 3f8e83bb4bc5..412dfc432c0e 100644 --- a/test/e2e/testdata/envoy-patch-policy.yaml +++ b/test/e2e/testdata/envoy-patch-policy.yaml @@ -45,6 +45,6 @@ spec: value: default_value: 404 runtime_key: key_b - status_code: 418 + status_code: 406 body: - inline_string: "im a teapot" + inline_string: "not acceptable" diff --git a/test/e2e/tests/envoy-patch-policy.go b/test/e2e/tests/envoy-patch-policy.go index af0672e37ba5..e0f055f1c68e 100644 --- a/test/e2e/tests/envoy-patch-policy.go +++ b/test/e2e/tests/envoy-patch-policy.go @@ -36,7 +36,7 @@ var EnvoyPatchPolicyTest = suite.ConformanceTest{ Path: "/bar", }, Response: http.Response{ - StatusCode: 418, + StatusCode: 406, }, Namespace: ns, }