From 558237e5f5981468aecdf2e146b6084de051b812 Mon Sep 17 00:00:00 2001 From: Joe Buck Date: Thu, 15 Aug 2013 12:51:51 -0700 Subject: [PATCH] Detect multi-region test cases Enable multi-region calls and tests only if the configuration has specified a radosgw-agent tastk. Signed-off-by: Joe Buck Reviewed-by: Josh Durgin --- teuthology/task/radosgw-admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index 2d68148f706..8f7e97bf5bb 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -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):