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