diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Utils/MultiRegionSetupHelpers.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Utils/MultiRegionSetupHelpers.cs index 971611f5ce..c4f3e1718c 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Utils/MultiRegionSetupHelpers.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Utils/MultiRegionSetupHelpers.cs @@ -29,13 +29,19 @@ public class MultiRegionSetupHelpers if (db.StatusCode == HttpStatusCode.Created) { container = await database.CreateContainerIfNotExistsAsync( - id: MultiRegionSetupHelpers.containerName, - partitionKeyPath: "/pk", - throughput: 400); + containerProperties: new ContainerProperties() + { + Id = MultiRegionSetupHelpers.containerName, + PartitionKeyPath = "/pk" + }, + throughputProperties: ThroughputProperties.CreateAutoscaleThroughput(400)); changeFeedContainer = await database.CreateContainerIfNotExistsAsync( - id: MultiRegionSetupHelpers.changeFeedContainerName, - partitionKeyPath: "/partitionKey", - throughput: 400); + containerProperties: new ContainerProperties() + { + Id = MultiRegionSetupHelpers.changeFeedContainerName, + PartitionKeyPath = "/partitionKey" + }, + throughputProperties: ThroughputProperties.CreateAutoscaleThroughput(400)); List tasks = new List() {