Don't create ci test admin login unencrypted in postgres

Newer postgres don't allow unencrypted passwords so just remove that
setting from the test setup script.

Change-Id: I2ab89c42a028fb0b5c07b44bcf86f97314a84f34
This commit is contained in:
Tobias Henkel 2018-04-13 11:43:42 +02:00
parent 7b7a9231b5
commit f8f4cc9752
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ mysql -u $DB_USER -p$DB_PW -h 127.0.0.1 -e "
CREATE DATABASE openstack_citest CHARACTER SET utf8;"
# setup postgres user and database
sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN SUPERUSER UNENCRYPTED PASSWORD '$DB_PW';"
sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN SUPERUSER PASSWORD '$DB_PW';"
sudo -u postgres psql -c "CREATE DATABASE openstack_citest OWNER $DB_USER TEMPLATE template0 ENCODING 'UTF8';"
# TODO(pabelanger): Move this into bindep after we figure out how to enable our