From 9f7dac3054429e2e8f5aec645f665eb4f0d4d13d Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Fri, 14 Feb 2025 03:32:41 +0900 Subject: [PATCH 1/2] Updates README about running integration test Signed-off-by: Takeshi Yoneda --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index fe5ea31..97b0d1a 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,18 @@ Then execute, for example, the following command to test the passthrough and acc curl localhost:1062/uuid ``` +### Run integration tests with the built example Envoy + Rust Dynamic Module Docker Image. + +The integration tests are in the `integration` directory. Assuming you built the Docker image with the tag `envoy-with-dynamic-modules:latest`, you can run the integration tests with the following command: +``` +cd integration +go test . +``` + +If you want to explicitly specify the docker image, use `ENVOY_IMAGE` environment variable: +``` +ENVOY_IMAGE=foo-bar-image:latest go test . +``` ## Update Envoy Version From 029d2dbd930537718b14b8e9826889bc100584fe Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Fri, 14 Feb 2025 03:35:14 +0900 Subject: [PATCH 2/2] -v Signed-off-by: Takeshi Yoneda --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97b0d1a..b0aa82b 100644 --- a/README.md +++ b/README.md @@ -61,12 +61,12 @@ curl localhost:1062/uuid The integration tests are in the `integration` directory. Assuming you built the Docker image with the tag `envoy-with-dynamic-modules:latest`, you can run the integration tests with the following command: ``` cd integration -go test . +go test . -v -count=1 ``` If you want to explicitly specify the docker image, use `ENVOY_IMAGE` environment variable: ``` -ENVOY_IMAGE=foo-bar-image:latest go test . +ENVOY_IMAGE=foo-bar-image:latest go test . -v -count=1 ``` ## Update Envoy Version