From 7271d2365baba46ffb35cb134fb91185b4c3c871 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Wed, 19 Nov 2014 16:40:15 -0800 Subject: [PATCH] ceph_objectstore_tool: add assert so that teuthology knows when this test fails Signed-off-by: David Zafman (cherry picked from commit f10edda4bc60faf8278e6c1a453c07c0ff317877) --- tasks/ceph_objectstore_tool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/ceph_objectstore_tool.py b/tasks/ceph_objectstore_tool.py index 73f7aeb148c86..e1ca268646778 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: -- 2.39.5