From b4f2d666a1cfd1a22cf876c5e40cd0b4fade30e1 Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Thu, 13 Feb 2025 14:04:28 -0800 Subject: [PATCH] e2e: adds admin interface in extproc test (#339) **Commit Message** This will be helpful in debugging connectivity especially. Now you can spawn `envoy -c ./tests/extproc/envoy.yaml` and open `localhost:9901` on your browser to debug the connectivity. --------- Signed-off-by: Takeshi Yoneda --- .gitignore | 3 +++ tests/extproc/envoy.yaml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index 0ffadbc83..ba97f8b92 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ out/ *for_tests.yaml .vscode +# This is the placeholder for the access log file during extproc tests. +ACCESS_LOG_PATH + # Files and directories to ignore in the site directory # dependencies site/node_modules diff --git a/tests/extproc/envoy.yaml b/tests/extproc/envoy.yaml index 6cfd9f564..21191e9a0 100644 --- a/tests/extproc/envoy.yaml +++ b/tests/extproc/envoy.yaml @@ -3,6 +3,12 @@ # The full text of the Apache license is available in the LICENSE file at # the root of the repo. +admin: + address: + socket_address: + address: 127.0.0.1 + port_value: 9901 + static_resources: listeners: - address: