Revise to seperate go test commands

This commit is contained in:
Alexander Ewetumo 2017-10-26 16:52:48 +01:00
parent 8145412d1c
commit 61c277cccd
1 changed files with 7 additions and 1 deletions

View File

@ -145,7 +145,13 @@ test-coverage: ##@tests Run unit and integration tests with covevare
test-e2e: ##@tests Run e2e tests
# order: reliability then alphabetical
# TODO(tiabc): make a single command out of them adding `-p 1` flag.
build/env.sh go test -timeout 40m ./e2e/...
build/env.sh go test -timeout 5m ./e2e/accounts/...
build/env.sh go test -timeout 5m ./e2e/api/...
build/env.sh go test -timeout 5m ./e2e/node/...
build/env.sh go test -timeout 15m ./e2e/jail/...
build/env.sh go test -timeout 20m ./e2e/rpc/...
build/env.sh go test -timeout 20m ./e2e/whisper/...
build/env.sh go test -timeout 10m ./e2e/transactions/...
build/env.sh go test -timeout 40m ./cmd/statusd
ci: mock-install mock test-coverage test-e2e ##@tests Run all tests in CI