Revision 2c60bfa6
b/snf-tools/synnefo_tools/burnin/common.py | ||
---|---|---|
194 | 194 |
flavors = None |
195 | 195 |
delete_stale = False |
196 | 196 |
temp_directory = None |
197 |
failfast = None |
|
197 | 198 |
|
198 | 199 |
quotas = Proper(value=None) |
199 | 200 |
|
... | ... | |
570 | 571 |
BurninTests.images = opts.images |
571 | 572 |
BurninTests.delete_stale = opts.delete_stale |
572 | 573 |
BurninTests.temp_directory = opts.temp_directory |
574 |
BurninTests.failfast = opts.failfast |
|
573 | 575 |
BurninTests.run_id = SNF_TEST_PREFIX + \ |
574 | 576 |
datetime.datetime.strftime(curr_time, "%Y%m%d%H%M%S") |
575 | 577 |
|
b/snf-tools/synnefo_tools/burnin/server_tests.py | ||
---|---|---|
341 | 341 |
|
342 | 342 |
def test_004_run_testsuites(self): |
343 | 343 |
"""Run the generated tests""" |
344 |
success = True |
|
344 | 345 |
for gen_cls in self.gen_classes: |
345 | 346 |
self.info("Running testsuite %s", gen_cls.__name__) |
346 |
run_test(gen_cls) |
|
347 |
success = run_test(gen_cls) and success # With this order |
|
348 |
if self.failfast and not success: |
|
349 |
break |
|
350 |
self.assertTrue(success, "Some of the generated tests failed") |
Also available in: Unified diff