From 61c277cccde685ba75d3a9f2137be1a481fc618b Mon Sep 17 00:00:00 2001 From: Alexander Ewetumo Date: Thu, 26 Oct 2017 16:52:48 +0100 Subject: [PATCH] Revise to seperate go test commands --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c4ae606e..c3b8b36e9 100644 --- a/Makefile +++ b/Makefile @@ -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