From ed7511e0043e1b92d994daf33fd188f981e8d849 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Sun, 25 Dec 2016 04:22:03 -0800 Subject: [PATCH] Add a small note re: needing `-test.parallel=1` when running PG tests. --- builtin/providers/postgresql/GNUmakefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builtin/providers/postgresql/GNUmakefile b/builtin/providers/postgresql/GNUmakefile index cdaa01f54..4d9f2875b 100644 --- a/builtin/providers/postgresql/GNUmakefile +++ b/builtin/providers/postgresql/GNUmakefile @@ -1,3 +1,10 @@ +# env TESTARGS='-test.parallel=1 -run TestAccPostgresqlSchema_AddPolicy' TF_LOG=warn make test +# +# NOTE: As of PostgreSQL 9.6.1 the -test.parallel=1 is required when +# performing `DROP ROLE`-related actions. This behavior and requirement +# may change in the future and is likely not required when doing +# non-delete related operations. But for now it is. + POSTGRES?=/opt/local/lib/postgresql96/bin/postgres PSQL?=/opt/local/lib/postgresql96/bin/psql