Skip to content

[Internal] Tests: Fixes Availability Strategy emulator test timing margins - #5713

Merged
kirankumarkolli merged 2 commits into
masterfrom
users/nalutripician/test-fix-availability-strategy-timing
Mar 20, 2026
Merged

[Internal] Tests: Fixes Availability Strategy emulator test timing margins#5713
kirankumarkolli merged 2 commits into
masterfrom
users/nalutripician/test-fix-availability-strategy-timing

Merge branch 'master' into users/nalutripician/test-fix-availability-…

3b52f17
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-v3-ci succeeded Mar 20, 2026 in 1h 28m 15s

Build #20260319.30 had test failures

Details

Tests

  • Failed: 28 (0.32%)
  • Passed: 8,556 (98.80%)
  • Other: 76 (0.88%)
  • Total: 8,660
Code coverage

  • 53947 of 97235 line covered (55.48%)

Annotations

Check failure on line 1440 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Build log #L1440

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 1445 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Build log #L1445

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\Microsoft.Azure.Cosmos\\tests\\Microsoft.Azure.Cosmos.EmulatorTests\\Microsoft.Azure.Cosmos.EmulatorTests.csproj'
]

Check failure on line 1713 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Build log #L1713

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 1718 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Build log #L1718

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\Microsoft.Azure.Cosmos\\tests\\Microsoft.Azure.Cosmos.EmulatorTests\\Microsoft.Azure.Cosmos.EmulatorTests.csproj'
]

Check failure on line 1 in Microsoft.Azure.Cosmos.SDK.EmulatorTests.ClientTelemetryTests.SingleOperationMultipleTimesTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Microsoft.Azure.Cosmos.SDK.EmulatorTests.ClientTelemetryTests.SingleOperationMultipleTimesTest

Test failed

Check failure on line 1 in Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.RegionalDatabaseAccountNameIsEmptyInPayload

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.RegionalDatabaseAccountNameIsEmptyInPayload

Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. Microsoft.Azure.Cosmos.CosmosException: Response status code does not indicate success: Forbidden (403); Substatus: 3090; ActivityId: c1b78ad0-2efb-46f2-8de9-1f3ca5cb256c; Reason: (Message: {"Errors":["Database / Collection Count Quota exceeded: Maximum number of 'Database' per account exceeded. Current configured quota 1000. Learn more https://aka.ms/cosmosdbquota"]}
ActivityId: c1b78ad0-2efb-46f2-8de9-1f3ca5cb256c, Request URI: /apps/81dbdb26-b835-47ea-b870-ad211e2890e6/services/4e58143b-bcf4-4198-af68-100f4836e304/partitions/63114079-032b-4168-89de-0c71e4cd33e9/replicas/134172030984820221p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, Windows/10.0.20348 cosmos-netstandard-sdk/3.42.2);.
Raw output
    at Microsoft.Azure.Cosmos.GatewayStoreClient.ParseResponseAsync(HttpResponseMessage responseMessage, JsonSerializerSettings serializerSettings, DocumentServiceRequest request) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 137
   at Microsoft.Azure.Cosmos.GatewayStoreClient.InvokeAsync(DocumentServiceRequest request, ResourceType resourceType, Uri physicalAddress, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 52
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 150
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 166
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.ProcessMessageAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 136
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.SendAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 33

Check failure on line 1 in Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestThinClientWithExecuteStoredProcedureAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestThinClientWithExecuteStoredProcedureAsync

Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. Microsoft.Azure.Cosmos.CosmosException: Response status code does not indicate success: Forbidden (403); Substatus: 3090; ActivityId: 3c2f1be1-7470-426c-8567-831c31cac716; Reason: (Message: {"Errors":["Database / Collection Count Quota exceeded: Maximum number of 'Database' per account exceeded. Current configured quota 1000. Learn more https://aka.ms/cosmosdbquota"]}
ActivityId: 3c2f1be1-7470-426c-8567-831c31cac716, Request URI: /apps/81dbdb26-b835-47ea-b870-ad211e2890e6/services/4e58143b-bcf4-4198-af68-100f4836e304/partitions/63114079-032b-4168-89de-0c71e4cd33e9/replicas/134172030984820221p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, Windows/10.0.20348 cosmos-netstandard-sdk/3.42.2);.
Raw output
    at Microsoft.Azure.Cosmos.GatewayStoreClient.ParseResponseAsync(HttpResponseMessage responseMessage, JsonSerializerSettings serializerSettings, DocumentServiceRequest request) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 137
   at Microsoft.Azure.Cosmos.GatewayStoreClient.InvokeAsync(DocumentServiceRequest request, ResourceType resourceType, Uri physicalAddress, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 52
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 150
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 166
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.ProcessMessageAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 136
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.SendAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 33

Check failure on line 1 in Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.UpsertItemStreamTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-v3-ci

Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.UpsertItemStreamTest

Initialization method Microsoft.Azure.Cosmos.SDK.EmulatorTests.CosmosItemThinClientTests.TestInitAsync threw exception. Microsoft.Azure.Cosmos.CosmosException: Response status code does not indicate success: Forbidden (403); Substatus: 3090; ActivityId: ec3be517-d426-46a0-914f-b2d9a2eae43b; Reason: (Message: {"Errors":["Database / Collection Count Quota exceeded: Maximum number of 'Database' per account exceeded. Current configured quota 1000. Learn more https://aka.ms/cosmosdbquota"]}
ActivityId: ec3be517-d426-46a0-914f-b2d9a2eae43b, Request URI: /apps/81dbdb26-b835-47ea-b870-ad211e2890e6/services/4e58143b-bcf4-4198-af68-100f4836e304/partitions/63114079-032b-4168-89de-0c71e4cd33e9/replicas/134172030984820221p, RequestStats: , SDK: Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, Windows/10.0.20348 cosmos-netstandard-sdk/3.42.2);.
Raw output
    at Microsoft.Azure.Cosmos.GatewayStoreClient.ParseResponseAsync(HttpResponseMessage responseMessage, JsonSerializerSettings serializerSettings, DocumentServiceRequest request) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 140
   at Microsoft.Azure.Cosmos.GatewayStoreClient.InvokeAsync(DocumentServiceRequest request, ResourceType resourceType, Uri physicalAddress, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreClient.cs:line 54
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 171
   at Microsoft.Azure.Cosmos.GatewayStoreModel.ProcessMessageAsync(DocumentServiceRequest request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\GatewayStoreModel.cs:line 171
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.ProcessMessageAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 167
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.SendAsync(RequestMessage request, CancellationToken cancellationToken) in D:\a\_work\1\s\Microsoft.Azure.Cosmos\src\Handler\TransportHandler.cs:line 83