]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_objectstore_tool: add assert so that teuthology knows when this test fails
authorDavid Zafman <dzafman@redhat.com>
Thu, 20 Nov 2014 00:40:15 +0000 (16:40 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 4 Mar 2015 00:03:59 +0000 (16:03 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit f10edda4bc60faf8278e6c1a453c07c0ff317877)

tasks/ceph_objectstore_tool.py

index 73f7aeb148c86fa9e3da2d99b8e8bea5413caf33..e1ca2686467787171abeb29b21aa31d95f5a3a9a 100644 (file)
@@ -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: