Modify run_tests.sh to support PostgreSQL

Modify run_tests.sh to run unit tests with PostgreSQL. Fix a number of
connection pool and deadlock related issues in the unit tests. Fix DB
clean up routine to remove records in the correct context and order.

Change-Id: If88c00a326c025af885d061ca95588939195b7c5
Implements: blueprint run-unit-tests-on-postgresql
This commit is contained in:
Winson Chan
2015-07-01 23:03:51 +00:00
parent 071700a76b
commit 71f74a93cb
15 changed files with 959 additions and 88 deletions

1
.gitignore vendored
View File

@@ -30,6 +30,7 @@ nosetests.xml
cover/*
.testrepository/
subunit.log
.mistral.conf
# Translations
*.mo