Merge pull request #16764 from vrothberg/test-docs

[CI:DOCS] test/README.md: run tests with podman-remote
This commit is contained in:
OpenShift Merge Robot 2022-12-07 06:34:40 -05:00 committed by GitHub
commit 06c3b1d499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ You can run a single file of integration tests using the go test command:
GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/common_test.go test/e2e/config.go test/e2e/config_amd64.go test/e2e/your_test.go GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/common_test.go test/e2e/config.go test/e2e/config_amd64.go test/e2e/your_test.go
``` ```
If you want to run the tests with the podman-remote client, make sure to replace `test/e2e/libpod_suite_test.go` with `test/e2e/libpod_suite_remote_test.go`.
### Running a single integration test ### Running a single integration test
Before running the test suite, you have to declare which test you want run in the test Before running the test suite, you have to declare which test you want run in the test
file itself. Consider the following actual test: file itself. Consider the following actual test: