- access to the "openstack_citest" db under the "openstack_citest" user
in case if tests run on Jenkins gate, do not run commands under the
'sudo' because sudo access is revoked on Jenkins gates
- add one more argument that determines in how many threads tests will be run
(by default tests will be run in 1 thread, otherwise tests fail because of
incorrect cleanup mechanism in unit tests)
Change-Id: If332e8661f9309f71a3a0174144026de99df463e
For two reasons:
* The configuration file can be generated by using oslo-config-generator
CLI command provided by oslo.config module, which is generally adopted
by OpenStack projects.
* Reduce maintenance effort for each configuration item change.
Change-Id: If2f2559d669275b5fd252790657521049296c156
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
* use oslo graduated modules, delete openstack/common package since there
is no dependency on oslo-incubator modules now.
* delete openstack-common.conf for the reason above.
* update project requirements automatically.
Change-Id: I80610cbfe7fd54263c8a2d9178ec9a2498c91899
Closes-Bug: #1459188
The usage of $(COMMAND) shoud be preferred. Details can be
found at http://mywiki.wooledge.org/BashFAQ/082.
Also replaced two ` used in strings with '.
Change-Id: Ia729470c58da6fe2e505426bd5ce93214ec1f655
- Move all gate tests from functionaltests folder to the mistral/tests/functional
- Edit run directory for gate tests in the functionaltests/run_tests.sh
- Leave 'resources' folder in the 'mistral/tests' to use examples from it in the tempest tests
Change-Id: I4d6d6a653aab5af00c5cae7c21495f4a86ebfe42