Skip to content

Commit

Permalink
feature(ZENKO-855): Enable one to many replication tests in eve
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Jul 27, 2018
1 parent 3cbafe8 commit b501a41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion eve/workers/ci_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ FLAGS="\
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_DESTINATION_LOCATION=$GCP_BACKEND_DESTINATION_LOCATION \
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_SERVICE_KEY=$GCP_PRIV_KEY \
--$CLI_FLAG ${CI_PREFIX}GCP_BACKEND_SERVICE_EMAIL=$GCP_BACKEND_SERVICE_EMAIL \
--$CLI_FLAG INSTALL_TIMEOUT=$INSTALL_TIMEOUT"
--$CLI_FLAG INSTALL_TIMEOUT=$INSTALL_TIMEOUT \
--$CLI_FLAG ${CI_PREFIX}MULTI_CRR_SRC_BUCKET=$MULTI_CRR_SRC_BUCKET"

if [ ! -z "$ZENKO_ACCESS_KEY" ]; then
FLAGS="$FLAGS --$CLI_FLAG ${CI_PREFIX}ZENKO_ACCESS_KEY=$ZENKO_ACCESS_KEY"
Expand Down
5 changes: 2 additions & 3 deletions tests/zenko_e2e/cloudserver/test_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def test_wasabi_1_1(wasabi_crr_bucket,
timeout=30)


@pytest.mark.skip(reason='Not implemented in CI')
@pytest.mark.parametrize('datafile', [testfile, mpufile])
@pytest.mark.conformance
def test_multi_1_M( # pylint: disable=invalid-name, too-many-arguments
Expand All @@ -73,9 +72,9 @@ def test_multi_1_M( # pylint: disable=invalid-name, too-many-arguments
util.mark_test("MULTI 1-M REPLICATION")
data = datafile()
util.upload_object(multi_crr_bucket, objkey, data)
assert util.check_object(objkey, testfile,
assert util.check_object(objkey, data,
multi_crr_bucket,
aws_crr_target_bucket,
gcp_crr_target_bucket,
azure_crr_target_bucket,
timeout=30)
timeout=120)
2 changes: 1 addition & 1 deletion tests/zenko_e2e/fixtures/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def digital_ocean_crr_bucket(zenko_resource):


@pytest.fixture(scope='function')
def muti_crr_bucket(zenko_resource):
def multi_crr_bucket(zenko_resource):
bucket = create_bucket(zenko_resource, conf.MULTI_CRR_SRC_BUCKET)
util.bucket_safe_create(bucket)
yield bucket
Expand Down

0 comments on commit b501a41

Please sign in to comment.