]> 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)
committerLoic Dachary <ldachary@redhat.com>
Thu, 20 Nov 2014 21:38:25 +0000 (22:38 +0100)
Signed-off-by: David Zafman <dzafman@redhat.com>
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: