1
0
mirror of https://github.com/ceph/ceph synced 2024-12-24 04:14:07 +00:00

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 <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
Joe Buck 2013-08-15 12:51:51 -07:00 committed by Sage Weil
parent e625316d02
commit 558237e5f5

View 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):