mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
.github: enable failpoints for integration tests
And introduce helper to toggle failpoints by makefile. Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
9
.github/workflows/tests.yaml
vendored
9
.github/workflows/tests.yaml
vendored
@@ -38,13 +38,16 @@ jobs:
|
||||
GOARCH=amd64 PASSES='fmt bom dep' ./test
|
||||
;;
|
||||
linux-amd64-integration-1-cpu)
|
||||
GOARCH=amd64 CPU=1 RACE='false' make test-integration
|
||||
make install-gofail
|
||||
GOARCH=amd64 CPU=1 RACE='false' FAILPOINTS='true' make test-integration
|
||||
;;
|
||||
linux-amd64-integration-2-cpu)
|
||||
GOARCH=amd64 CPU=2 RACE='false' make test-integration
|
||||
make install-gofail
|
||||
GOARCH=amd64 CPU=2 RACE='false' FAILPOINTS='true' make test-integration
|
||||
;;
|
||||
linux-amd64-integration-4-cpu)
|
||||
GOARCH=amd64 CPU=4 RACE='false' make test-integration
|
||||
make install-gofail
|
||||
GOARCH=amd64 CPU=4 RACE='false' FAILPOINTS='true' make test-integration
|
||||
;;
|
||||
linux-amd64-functional)
|
||||
./build && GOARCH=amd64 PASSES='functional' ./test
|
||||
|
||||
Reference in New Issue
Block a user