diff options
author | Vu Tran <vu.tran@windriver.com> | 2014-06-19 10:33:03 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-06-23 15:54:54 -0400 |
commit | f86486f9ccb99115333691586ed4e99f074edc23 (patch) | |
tree | 66290ee039ce34e3a7f58815bc2f8c59724be4b1 /meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | |
parent | b39dc4c0b5aa1cf35d89d3f72673d24083a0a92f (diff) | |
download | meta-cloud-services-f86486f9ccb99115333691586ed4e99f074edc23.tar.gz |
ceilometer builtin skip failed unsupported db tests
ceilometer tests against various databases: mongodb, db2,
sqlalchemy, hbase. For mongodb and db2, tests use environment
variables: CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL
for supplying URL database connection into tests. As we do not
support mangodb or db2, by not setting or setting bogus URLs to
these two environment variables will cause tests to fail.
These tests should be skipped as prerequisite is not satisfied.
Therefore we modify ceilometer testcases for mongodb and db2
to be skipped instead of failed if CEILOMETER_TEST_MONGODB_URL and
CEILOMETER_TEST_DB2_URL are not set.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-ceilometer_git.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 4f557e1..5e0ad94 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/icehouse \ | |||
13 | file://0001-sqlalchemy-fix-grouping-for-postgresql-databases.patch \ | 13 | file://0001-sqlalchemy-fix-grouping-for-postgresql-databases.patch \ |
14 | file://fix_ceilometer_memory_leak.patch \ | 14 | file://fix_ceilometer_memory_leak.patch \ |
15 | file://ceilometer-builtin-tests-config-location.patch \ | 15 | file://ceilometer-builtin-tests-config-location.patch \ |
16 | file://Use-known-protocol-scheme-in-keystone-tests.patch \ | 16 | file://skip-failed-unsupported-db-ceilometer-builtin-tests.patch \ |
17 | " | 17 | " |
18 | 18 | ||
19 | SRCREV="c8733b2bc1301bc8dd5119a630d855ace1c747bf" | 19 | SRCREV="c8733b2bc1301bc8dd5119a630d855ace1c747bf" |