]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/pubsub: actually adding the ps tests
authorYuval Lifshitz <yuvalif@yahoo.com>
Mon, 15 Apr 2019 11:19:45 +0000 (14:19 +0300)
committerYuval Lifshitz <yuvalif@yahoo.com>
Mon, 29 Apr 2019 06:42:32 +0000 (09:42 +0300)
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
qa/tasks/rgw_multisite_tests.py

index 4e6e2b3dff004af425ea602f94071c52c4d61954..bfa90bd7650f5c96e74e207eeee1946ec89447fc 100644 (file)
@@ -10,10 +10,11 @@ from teuthology.exceptions import ConfigError
 from teuthology.task import Task
 from teuthology import misc
 
-from rgw_multi import multisite, tests
+from rgw_multi import multisite, tests, tests_ps
 
 log = logging.getLogger(__name__)
 
+
 class RGWMultisiteTests(Task):
     """
     Runs the rgw_multi tests against a multisite configuration created by the
@@ -66,6 +67,10 @@ class RGWMultisiteTests(Task):
         result = nose.run(defaultTest=tests.__name__, argv=argv, config=conf)
         if not result:
             raise RuntimeError('rgw multisite test failures')
+        result = nose.run(defaultTest=tests_ps.__name__, argv=argv, config=conf)
+        if not result:
+            raise RuntimeError('rgw multisite pubsub test failures')
+
 
 def get_log_stream():
     """ return a log stream for nose output """
@@ -88,4 +93,5 @@ def get_log_stream():
 
     return LogStream()
 
+
 task = RGWMultisiteTests