summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-04-05 20:17:04 +0000
committerGerrit Code Review <review@openstack.org>2023-04-05 20:17:04 +0000
commit5f930ebc552ba3baa3a0d48a687301ef6ea79bd6 (patch)
tree61b986c44314749f0612ec79a6227d34e1f1e77f
parent10f67cdf53185763b59bdcf03b632cc4b57ae10c (diff)
parent4bcef0eee5f7cd7d5f11ec05a976f51a8402d521 (diff)
downloadironic-5f930ebc552ba3baa3a0d48a687301ef6ea79bd6.tar.gz
Merge "Do not log into the template1 database during test-setup"
-rwxr-xr-xtools/test-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-setup.sh b/tools/test-setup.sh
index 16974adb5..924f0c824 100755
--- a/tools/test-setup.sh
+++ b/tools/test-setup.sh
@@ -83,5 +83,5 @@ EOF
chmod 0600 $HOME/.pgpass
# Now create our database
-psql -h 127.0.0.1 -U $DB_USER -d template1 -c "DROP DATABASE IF EXISTS openstack_citest"
+psql -h 127.0.0.1 -U $DB_USER -d postgres -c "DROP DATABASE IF EXISTS openstack_citest"
createdb -h 127.0.0.1 -U $DB_USER -l C -T template0 -E utf8 openstack_citest