From 9859f5ad129b226ff8782bbb37d9cf97ac66942a Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Fri, 5 Jan 2018 16:47:14 -0500 Subject: [PATCH] Provide hint about test over-parallelization --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a21df7ef6..078dc4b40d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,9 @@ $ bin/consul *Note: `make` will also place a copy of the binary in the first part of your `$GOPATH`.* -You can run tests by typing `make test`. +You can run tests by typing `make test`. The test suite may fail if +over-parallelized, so if you are seeing stochastic failures try +`GOTEST_FLAGS="-p 2 -parallel 2" make test`. If you make any changes to the code, run `make format` in order to automatically format the code according to Go standards.