]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
task/mds_thrash: don't drop exceptions from thrasher
authorJohn Spray <john.spray@redhat.com>
Mon, 13 Jun 2016 11:08:36 +0000 (12:08 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 13 Jun 2016 11:08:36 +0000 (12:08 +0100)
Previously, when there was an exception in the thrasher
main loop, it would log it but ultimately "succeed"
the teuthology task.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/mds_thrash.py

index 75530f8a8efaca9aad82596f9a2b30007ca60b8d..7f9d9ade0d06ab4eb5b3e7327bc8431af9cf49a8 100644 (file)
@@ -411,5 +411,6 @@ def task(ctx, config):
         for t in thrashers:
             log.info('join thrasher for failure group [{fg}]'.format(fg=', '.join(failure_group)))
             thrashers[t].stop()
+            thrashers[t].get()  # Raise any exception from _run()
             thrashers[t].join()
         log.info('done joining')