From a1027e901e70d88b0ab35ad9e9f52d22366e23f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Luk=C5=A1a?= Date: Mon, 25 Nov 2024 09:24:11 +0100 Subject: [PATCH] Minor improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marko Lukša --- tests/e2e/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/README.md b/tests/e2e/README.md index 69b6134b8..432ea1d7f 100644 --- a/tests/e2e/README.md +++ b/tests/e2e/README.md @@ -220,18 +220,18 @@ The following environment variables define the behavior of the test run: The test run can be customized by setting the following environment variables: -For change all the sample files used in the test, you can use the next env var: +To change all the sample files used in the test, you can use the following environment variable: * SAMPLE_YAML_BASE_URL=https://raw.githubusercontent.com/orgName/repoName - The base URL where the sample YAML files are located. This is useful when you want to test the operator with different sample YAML files defined in another repository. Currently the e2e framework use the upstream Istio repository to get the sample YAML files, for example: `https://raw.githubusercontent.com/istio/istio/master/samples/helloworld/helloworld.yaml` for `hello-world` sample yaml file on `master` branch. -Note: using this env var will need to have the sample files available in the same path as Istio upstream repository are. For more information check the [code](https://github.com/istio-ecosystem/sail-operator/blob/74f96ab4a56e3d41e2d31faede290116a68551e9/tests/e2e/util/common/e2e_utils.go#L271), if you want to use custom directory we suggest to use the next env vars. -For change the sample files used in the test, you can use the next env vars: +Note: when setting this environment variable, make sure that the sample files are available in the same paths as in the Istio upstream repository. For more information check the [code](https://github.com/istio-ecosystem/sail-operator/blob/74f96ab4a56e3d41e2d31faede290116a68551e9/tests/e2e/util/common/e2e_utils.go#L271). +Alternatively, set the following environment variables to change these file paths: * TCP_ECHO_DUAL_STACK_YAML_PATH * TCP_ECHO_IPV4_YAML_PATH * TCP_ECHO_IPV6_YAML_PATH * SLEEP_YAML_PATH * HELLOWORLD_YAML_PATH -`TCP_ECHO_*` are used in the `dual-stack` test suite, `SLEEP_YAML_PATH` and `HELLOWORLD_YAML_PATH`are used in both `Multicluster` and default test run. Settings these env vars will override the default sample files used in the test and you can use a path to a custom sample file. +`TCP_ECHO_*` are used in the `dual-stack` test suite, `SLEEP_YAML_PATH` and `HELLOWORLD_YAML_PATH` are used in both `Multicluster` and default test run. ### Get test definitions for the end-to-end test