pg backend tests run when TF_ACC is set (no more TF_PG_TEST)

This commit is contained in:
Mars Hall 2019-02-22 14:42:24 -08:00
parent e8e7d3013e
commit 8cb2943b6b
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ import (
// verify that we are doing ACC tests or the Postgres tests specifically // verify that we are doing ACC tests or the Postgres tests specifically
func testACC(t *testing.T) { func testACC(t *testing.T) {
skip := os.Getenv("TF_ACC") == "" && os.Getenv("TF_PG_TEST") == "" skip := os.Getenv("TF_ACC") == ""
if skip { if skip {
t.Log("pg backend tests require setting TF_ACC or TF_PG_TEST") t.Log("pg backend tests require setting TF_ACC")
t.Skip() t.Skip()
} }
if os.Getenv("DATABASE_URL") == "" { if os.Getenv("DATABASE_URL") == "" {