]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Detect multi-region test cases
authorJoe Buck <jbbuck@gmail.com>
Thu, 15 Aug 2013 19:51:51 +0000 (12:51 -0700)
committerSage Weil <sage@inktank.com>
Sat, 17 Aug 2013 15:47:58 +0000 (08:47 -0700)
Enable multi-region calls and tests only if
the configuration has specified a
radosgw-agent tastk.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/radosgw-admin.py

index 2d68148f7069508c35ad9f58f9fe388f48d0df00..8f7e97bf5bb1312eeab09ba00ea27d2280a5d31d 100644 (file)
@@ -32,8 +32,8 @@ def successful_ops(out):
 
 # simple test to indicate if multi-region testing should occur
 def multi_region_enabled(ctx):
-    # this is populated by the radosgw-agent task, seems reasonable to use that as an indicator that
-    # we're testing multi-region sync 
+    # this is populated by the radosgw-agent task, seems reasonable to
+    # use that as an indicator that we're testing multi-region sync
     return 'radosgw_agent' in ctx
 
 def task(ctx, config):