From 08298ecb293dc7be77fc655d2daff5ad76395248 Mon Sep 17 00:00:00 2001 From: Iman Malik Date: Thu, 19 May 2022 13:35:37 -0400 Subject: [PATCH] test preferred region list is null when app region is set --- .../ClientConfigurationDiagnosticTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ClientConfigurationDiagnosticTest.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ClientConfigurationDiagnosticTest.cs index 50636a04d6..89fbccb62d 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ClientConfigurationDiagnosticTest.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ClientConfigurationDiagnosticTest.cs @@ -86,6 +86,7 @@ public void ClientConfigWithOptionsTest() ClientConfigurationTraceDatum clientConfig = new ClientConfigurationTraceDatum(context, DateTime.UtcNow); Assert.AreEqual(clientConfig.ConsistencyConfig.ApplicationRegion, "East US"); + Assert.IsNull(clientConfig.ConsistencyConfig.PreferredRegions); }