Revision 8c67f82e snf-tools/synnefo_tools/burnin/__init__.py
b/snf-tools/synnefo_tools/burnin/__init__.py | ||
---|---|---|
46 | 46 |
FlavorsTestSuite, ImagesTestSuite |
47 | 47 |
from synnefo_tools.burnin.pithos_tests import PithosTestSuite |
48 | 48 |
from synnefo_tools.burnin.server_tests import ServerTestSuite |
49 |
from synnefo_tools.burnin.stale_tests import \ |
|
50 |
StaleServersTestSuite, StaleNetworksTestSuite |
|
49 | 51 |
|
50 | 52 |
|
51 | 53 |
# -------------------------------------------------------------------- |
... | ... | |
56 | 58 |
ImagesTestSuite, |
57 | 59 |
PithosTestSuite, |
58 | 60 |
ServerTestSuite, |
59 |
] |
|
60 |
|
|
61 |
] |
|
61 | 62 |
TSUITES_NAMES = [tsuite.__name__ for tsuite in TESTSUITES] |
62 | 63 |
|
64 |
STALE_TESTSUITES = [ |
|
65 |
# Must be runned in this order |
|
66 |
StaleServersTestSuite, |
|
67 |
StaleNetworksTestSuite, |
|
68 |
] |
|
69 |
STALE_TSUITES_NAMES = [tsuite.__name__ for tsuite in STALE_TESTSUITES] |
|
70 |
|
|
63 | 71 |
|
64 | 72 |
def string_to_class(names): |
65 | 73 |
"""Convert class namesto class objects""" |
... | ... | |
245 | 253 |
(opts, _) = parse_arguments(sys.argv[1:]) |
246 | 254 |
|
247 | 255 |
# Initialize burnin |
248 |
testsuites = common.initialize(opts, TSUITES_NAMES) |
|
256 |
testsuites = common.initialize(opts, TSUITES_NAMES, STALE_TSUITES_NAMES)
|
|
249 | 257 |
testsuites = string_to_class(testsuites) |
250 | 258 |
|
251 | 259 |
# Run burnin |
Also available in: Unified diff