From e948c4ed90def6933fcbd7cccbfc27e693937155 Mon Sep 17 00:00:00 2001 From: Ygal Blum Date: Fri, 4 Oct 2024 10:16:27 -0400 Subject: [PATCH] [CI:DOCS] Document TESTFLAGS in test README file Signed-off-by: Ygal Blum --- test/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index 6e67bb1a26..3463484ee5 100644 --- a/test/README.md +++ b/test/README.md @@ -127,12 +127,17 @@ make localintegration FOCUS="podman inspect bogus pod" ``` ### Controlling Ginkgo parameters -You can control some of the parameters passed to Ginkgo +You can control the parameters passed to Ginkgo. + +The flags already used can be set by their corresponding environment variable: - Disable parallel tests by setting `GINKGO_PARALLEL=n` - Set flake retry count (default 0) to one by setting `GINKGO_FLAKE_ATTEMPTS=1` - Produce colorful tests report by setting `GINKGO_NO_COLOR=n` +For anything else, use `TESTFLAGS`. +For example for failing fast, set `TESTFLAGS=--fail-fast` + # System tests System tests are used for testing the *podman* CLI in the context of a complete system. It requires that *podman*, all dependencies, and configurations are in place. The intention of