mirror of
https://github.com/ceph/ceph
synced 2024-12-24 20:33:27 +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:
parent
e625316d02
commit
558237e5f5
@ -32,8 +32,8 @@ def successful_ops(out):
|
|||||||
|
|
||||||
# simple test to indicate if multi-region testing should occur
|
# simple test to indicate if multi-region testing should occur
|
||||||
def multi_region_enabled(ctx):
|
def multi_region_enabled(ctx):
|
||||||
# this is populated by the radosgw-agent task, seems reasonable to use that as an indicator that
|
# this is populated by the radosgw-agent task, seems reasonable to
|
||||||
# we're testing multi-region sync
|
# use that as an indicator that we're testing multi-region sync
|
||||||
return 'radosgw_agent' in ctx
|
return 'radosgw_agent' in ctx
|
||||||
|
|
||||||
def task(ctx, config):
|
def task(ctx, config):
|
||||||
|
Loading…
Reference in New Issue
Block a user