Skip to content

Commit 4d2a26d

Browse files
committed
BUILDING.md: update testing section
The integration-parallel has been removed by 4df7075. Update Makefile targets in BUILDING.md. Signed-off-by: Li Yuxuan <[email protected]>
1 parent e70a530 commit 4d2a26d

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)