From: David Zafman Date: Thu, 20 Nov 2014 00:40:15 +0000 (-0800) Subject: ceph_objectstore_tool: add assert so that teuthology knows when this test fails X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7271d2365baba46ffb35cb134fb91185b4c3c871;p=ceph.git ceph_objectstore_tool: add assert so that teuthology knows when this test fails Signed-off-by: David Zafman (cherry picked from commit f10edda4bc60faf8278e6c1a453c07c0ff317877) --- diff --git a/tasks/ceph_objectstore_tool.py b/tasks/ceph_objectstore_tool.py index 73f7aeb148c..e1ca2686467 100644 --- a/tasks/ceph_objectstore_tool.py +++ b/tasks/ceph_objectstore_tool.py @@ -218,6 +218,8 @@ def task(ctx, config): else: log.error("TEST FAILED WITH {errcount} ERRORS".format(errcount=ERRORS)) + assert ERRORS == 0 + try: yield finally: