From edb027f6e9e9c1901953c225e352e5918e8f2956 Mon Sep 17 00:00:00 2001 From: Adrian Macneil Date: Mon, 30 Nov 2015 18:36:24 -0800 Subject: [PATCH] Run tests in serial Prevents race conditions when creating/dropping databases. See: http://stackoverflow.com/questions/15721238/go-serial-execution-of-package-tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed1bfd6..bd076f1 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,4 @@ lint: $(DOCKER) errcheck ./... test: - $(DOCKER) go test ./... + $(DOCKER) go test -p=1 -v ./...