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
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 """
return LogStream()
+
task = RGWMultisiteTests