From 839ed70be8364a4a24f18ef258a0fda8130847c1 Mon Sep 17 00:00:00 2001 From: Razvan Vacaru Date: Fri, 17 Sep 2021 17:31:00 +0200 Subject: [PATCH] restored root auth commands --- test/setup_db.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/setup_db.sh b/test/setup_db.sh index 8e9cfa009ca..5d948ac92e0 100644 --- a/test/setup_db.sh +++ b/test/setup_db.sh @@ -34,6 +34,8 @@ until pg_isready -h ${PGHOST} -p ${PGPORT} -U ${PGUSER}; do sleep 2; done; +psql -c "CREATE ROLE root WITH PASSWORD 'password';" +psql -c "ALTER ROLE root WITH LOGIN;" psql -c "CREATE ROLE noaccess WITH PASSWORD 'password' NOSUPERUSER;" psql -c "ALTER ROLE noaccess WITH LOGIN;" psql -c "GRANT CONNECT ON DATABASE dbt TO noaccess;"