Skip to content

Commit bfbd1d0

Browse files
authored
Merge pull request #3070 from darfux/update-build-doc
BUILDING.md: update testing section
2 parents e70a530 + 4d2a26d commit bfbd1d0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

BUILDING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ containerd --config config.toml
220220
During the automated CI the unit tests and integration tests are run as part of the PR validation. As a developer you can run these tests locally by using any of the following `Makefile` targets:
221221
- `make test`: run all non-integration tests that do not require `root` privileges
222222
- `make root-test`: run all non-integration tests which require `root`
223-
- `make integration`: run all tests, including integration tests and those which require `root`
224-
- `make integration-parallel`: run all tests (integration and root-required included) in parallel mode
223+
- `make integration`: run all tests, including integration tests and those which require `root`. `TESTFLAGS_PARALLEL` can be used to control parallelism. For example, `TESTFLAGS_PARALLEL=1 make integration` will lead a non-parallel execution. The default value of `TESTFLAGS_PARALLEL` is **8**.
225224

226225
To execute a specific test or set of tests you can use the `go test` capabilities
227226
without using the `Makefile` targets. The following examples show how to specify a test

0 commit comments

Comments
 (0)