From 903444fbdf5f47b3402d9a8336fe3726bf7ee68b Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Mon, 17 Aug 2015 14:30:06 +0000 Subject: [PATCH] Set correct default credentials in the test_backend.sh scripts The CI expects user/pass to be openstack_citest/openstack_citest, but it currently defaults to storyboard/storyboard in the {install,destroy}_test_backend.sh scripts. Change-Id: Icbf912dd304286638f31ae99a29c99905a423e90 --- tools/destroy_test_backend.sh | 4 ++-- tools/install_test_backend.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/destroy_test_backend.sh b/tools/destroy_test_backend.sh index f2fbfdd6..4272a920 100755 --- a/tools/destroy_test_backend.sh +++ b/tools/destroy_test_backend.sh @@ -5,8 +5,8 @@ echo 'Killing storyboard-api...' killall storyboard-api # export default vars if not defined, to be available in conf file -export DB_USER=${DB_USER:-storyboard} -export DB_PASSWORD=${DB_PASSWORD:-storyboard} +export DB_USER=${DB_USER:-openstack_citest} +export DB_PASSWORD=${DB_PASSWORD:-openstack_citest} export DB_TEST=${DB_TEST:-storyboard_test} mysql -u $DB_USER -p$DB_PASSWORD -e "DROP DATABASE IF EXISTS $DB_TEST;" diff --git a/tools/install_test_backend.sh b/tools/install_test_backend.sh index 8b7c64be..54a8e470 100755 --- a/tools/install_test_backend.sh +++ b/tools/install_test_backend.sh @@ -7,8 +7,8 @@ else fi # export default vars if not defined, to be available in conf file -export DB_USER=${DB_USER:-storyboard} -export DB_PASSWORD=${DB_PASSWORD:-storyboard} +export DB_USER=${DB_USER:-openstack_citest} +export DB_PASSWORD=${DB_PASSWORD:-openstack_citest} export DB_TEST=${DB_TEST:-storyboard_test} # create the user if needed