Specify ceilometer test group for deploy-deb job
[openstack-build/ceilometer-build.git] / trusty / debian / patches / skip-db-tests.patch
1 From d008622c43dc902e1bb73ea5ff08beb8ec48f7d9 Mon Sep 17 00:00:00 2001
2 From: Chuck Short <chuck.short@canonical.com>
3 Date: Fri, 21 Nov 2014 11:30:23 -0600
4 Subject: [PATCH] skip-db
5
6 Signed-off-by: Chuck Short <chuck.short@canonical.com>
7 ---
8  ceilometer/tests/db.py | 16 ++++++++--------
9  1 file changed, 8 insertions(+), 8 deletions(-)
10
11 diff --git a/ceilometer/tests/db.py b/ceilometer/tests/db.py
12 index f29d4fe..8c09115 100644
13 --- a/ceilometer/tests/db.py
14 +++ b/ceilometer/tests/db.py
15 @@ -268,13 +268,13 @@ class MixinTestsWithBackendScenarios(object):
16      scenarios_db = [db for db, _ in scenarios]
17  
18      # Insert default value for hbase test
19 -    if 'hbase' not in scenarios_db:
20 -        scenarios.append(
21 -            ('hbase', {'db_url': 'hbase://__test__'}))
22 +    #if 'hbase' not in scenarios_db:
23 +    #    scenarios.append(
24 +    #        ('hbase', {'db_url': 'hbase://__test__'}))
25  
26      # Insert default value for db2 test
27 -    if 'mongodb' in scenarios_db and 'db2' not in scenarios_db:
28 -        scenarios.append(
29 -            ('db2', {'db_url': os.environ.get('CEILOMETER_TEST_MONGODB_URL',
30 -                                              '').replace('mongodb://',
31 -                                                          'db2://')}))
32 +    #if 'mongodb' in scenarios_db and 'db2' not in scenarios_db:
33 +    #    scenarios.append(
34 +    #        ('db2', {'db_url': os.environ.get('CEILOMETER_TEST_MONGODB_URL',
35 +     #                                         '').replace('mongodb://',
36 +     #                                                     'db2://')}))
37 -- 
38 2.1.0
39