def test_wasabi_storage(wasabi_ep_bucket, wasabi_target_bucket, testfile, objkey): util.mark_test('WASABI STORAGE DEFAULT EP LOCATION') wasabi_ep_bucket.create() wasabi_ep_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, wasabi_ep_bucket, wasabi_target_bucket)
def test_digital_ocean_storage(digital_ocean_ep_bucket, digital_ocean_target_bucket, testfile, objkey): util.mark_test('DIGITAL OCEAN STORAGE DEFAULT EP LOCATION') digital_ocean_ep_bucket.create() digital_ocean_ep_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, digital_ocean_ep_bucket, digital_ocean_target_bucket)
def test_gcp_1_1(gcp_crr_bucket, gcp_crr_target_bucket, objkey, datafile): util.mark_test('GCP 1-1 REPLICATION') data = datafile() util.upload_object(gcp_crr_bucket, objkey, data) assert util.check_object(objkey, data, gcp_crr_bucket, gcp_crr_target_bucket, timeout=30)
def test_aws_1_1(aws_crr_bucket, aws_crr_target_bucket, objkey, datafile): util.mark_test('AWS 1-1 REPLICATION') data = datafile() util.upload_object(aws_crr_bucket, objkey, data) assert util.check_object(objkey, data, aws_crr_bucket, aws_crr_target_bucket, timeout=120)
def test_wasabi_1_1(wasabi_crr_bucket, wasabi_crr_target_bucket, objkey, datafile): util.mark_test('AZURE 1-1 REPLICATION') data = datafile() util.upload_object(wasabi_crr_bucket, objkey, data) assert util.check_object(objkey, testfile, wasabi_crr_bucket, wasabi_crr_target_bucket, timeout=30)
def test_azure_1_1(azure_crr_bucket, azure_crr_target_bucket, objkey, datafile): util.mark_test('AZURE 1-1 REPLICATION') data = datafile() util.upload_object(azure_crr_bucket, objkey, data) assert util.check_object(objkey, data, azure_crr_bucket, azure_crr_target_bucket, timeout=30)
def test_multi_1_M( # pylint: disable=invalid-name, too-many-arguments multi_crr_bucket, aws_crr_target_bucket, gcp_crr_target_bucket, azure_crr_target_bucket, objkey, datafile): util.mark_test("MULTI 1-M REPLICATION") data = datafile() util.upload_object(multi_crr_bucket, objkey, data) assert util.check_object(objkey, testfile, multi_crr_bucket, aws_crr_target_bucket, gcp_crr_target_bucket, azure_crr_target_bucket, timeout=30)
def test_ring_storage(zenko_bucket, testfile, objkey): util.mark_test('RING STORAGE DEFAULT EP LOCATION') zenko_bucket.create() zenko_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, zenko_bucket)
def test_azure_storage(azure_ep_bucket, azure_target_bucket, testfile, objkey): util.mark_test('AZURE STORAGE DEFAULT EP LOCATION') azure_ep_bucket.create() azure_ep_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, azure_ep_bucket, azure_target_bucket)
def test_gcp_storage(gcp_ep_bucket, gcp_target_bucket, testfile, objkey): util.mark_test('GCP STORAGE DEFAULT EP LOCATION') gcp_ep_bucket.create() gcp_ep_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, gcp_ep_bucket, gcp_target_bucket)
def test_digital_ocean_storage(digital_ocean_loc_bucket, digital_ocean_target_bucket, testfile, objkey): util.mark_test('DIGITAL OCEAN STORAGE LOCATION CONSTRAINT') digital_ocean_loc_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, digital_ocean_loc_bucket, digital_ocean_target_bucket)
def test_wasabi_storage(wasabi_loc_bucket, wasabi_target_bucket, testfile, objkey): util.mark_test('WASABI STORAGE LOCATION CONSTRAINT') wasabi_loc_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, wasabi_loc_bucket, wasabi_target_bucket)
def test_azure_storage(azure_loc_bucket, azure_target_bucket, testfile, objkey): util.mark_test('AZURE STORAGE LOCATION CONSTRAINT') azure_loc_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, azure_loc_bucket, azure_target_bucket)
def test_gcp_storage(gcp_loc_bucket, gcp_target_bucket, testfile, objkey): util.mark_test('GCP STORAGE LOCATION CONSTRAINT') gcp_loc_bucket.put_object(Body=testfile, Key=objkey) assert util.check_object(objkey, testfile, gcp_loc_bucket, gcp_target_bucket)