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
This commit is contained in:
Adam Coldrick 2015-08-17 14:30:06 +00:00
parent 7feae82881
commit 903444fbdf
2 changed files with 4 additions and 4 deletions

View File

@ -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;"

View File

@ -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