public void GetRpo() { GetRpoSample getRpoSample = new GetRpoSample(); var rpo = getRpoSample.GetRpo(_fixture.BucketNameGeneric); Assert.NotNull(rpo); }
public void SetRpoDefault() { SetRpoDefaultSample setRPODefaultSample = new SetRpoDefaultSample(); GetRpoSample getRpoSample = new GetRpoSample(); var bucketName = Guid.NewGuid().ToString(); _fixture.CreateBucket(bucketName, "nam4"); setRPODefaultSample.SetRpoDefault(bucketName); _fixture.SleepAfterBucketCreateUpdateDelete(); var rpo = getRpoSample.GetRpo(bucketName); Assert.Equal("DEFAULT", rpo); }
public void SetRpoAsyncTurbo() { SetRpoAsyncTurboSample setRpoAsyncTurboSample = new SetRpoAsyncTurboSample(); GetRpoSample getRpoSample = new GetRpoSample(); // Enabling turbo replication requires a bucket with dual-region configuration var bucketName = Guid.NewGuid().ToString(); _fixture.CreateBucket(bucketName, "nam4"); setRpoAsyncTurboSample.SetRpoAsyncTurbo(bucketName); _fixture.SleepAfterBucketCreateUpdateDelete(); var rpo = getRpoSample.GetRpo(bucketName); Assert.Equal("ASYNC_TURBO", rpo); }