~vila/uci-engine/dead-letter

« back to all changes in this revision

Viewing changes to ci-utils/ci_utils/testing/features.py

  • Committer: Vincent Ladeuil
  • Date: 2015-01-06 10:41:05 UTC
  • Revision ID: vila+ci@canonical.com-20150106104105-ckd69i91u9nzykw9
Activate Swift and Nova features again so integration tests are not skipped anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Ubuntu CI Engine
2
 
# Copyright 2014 Canonical Ltd.
 
2
# Copyright 2014, 2015 Canonical Ltd.
3
3
 
4
4
# This program is free software: you can redistribute it and/or modify it
5
5
# under the terms of the GNU Affero General Public License version 3, as
36
36
class Swift(features.Feature):
37
37
 
38
38
    def _probe(self):
39
 
        # FIXME: swift needs to handle more transient failures, tests are
40
 
        # currently failing when swift becomes too slow. Disable all tests that
41
 
        # require a "perfect" swift -- vila 2014-11-26
42
 
        return False
43
39
        conn = self.get_connection()
44
40
        if conn is None:
45
41
            return False
71
67
class NovaCompute(features.Feature):
72
68
 
73
69
    def _probe(self):
74
 
        # FIXME: nova needs to handle more transient failures, tests are
75
 
        # currently failing for various known reasons. Disable all tests that
76
 
        # require a "perfect" nova. -- vila 2014-11-26
77
 
        return False
78
70
        client = self.get_client()
79
71
        if client is None:
80
72
            return False