Merge pull request #24166 from ygalblum/doc-testflags

[CI:DOCS] Document TESTFLAGS in test README file
This commit is contained in:
openshift-merge-bot[bot]
2024-10-04 16:52:29 +00:00
committed by GitHub

View File

@ -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