Ensure that Run tests (http) is actually testing http - #3340
Open
Chidozie Ononiwu (chidozieononiwu) wants to merge 4 commits into
Open
Ensure that Run tests (http) is actually testing http#3340Chidozie Ononiwu (chidozieononiwu) wants to merge 4 commits into
Chidozie Ononiwu (chidozieononiwu) wants to merge 4 commits into
Azure Pipelines / mcp - pullrequest
failed
Aug 25, 2026 in 35m 29s
Build #20260824.36 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 31,368 (98.17%)
- Other: 583 (1.82%)
- Total: 31,952
- 32294 of 78988 line covered (40.88%)
Annotations
Check failure on line 29579 in Build log
azure-pipelines / mcp - pullrequest
Build log #L29579
Command failed to execute (00:16:26.5522600): dotnet test --results-directory '/Users/runner/work/1/a/testResults' --report-xunit-trx --output 'Detailed'
Check failure on line 29582 in Build log
azure-pipelines / mcp - pullrequest
Build log #L29582
PowerShell exited with code '1'.
azure-pipelines / mcp - pullrequest
Azure.Mcp.Tools.Cosmos.Tests.CosmosCommandTests.Should_show_single_item_from_cosmos_account
Property 'items' not found. Full element: '{\"message\":\"{\\u0022Message\\u0022:\\u0022Unable to find a record for the request GET https://Sanitized.documents.azure.com/\\\\nUri doesn\\\\u0027t match:\\\\n request \\\\u003Chttps://Sanitized.documents.azure.com/\\\\u003E\\\\n record \\\\u003Chttps://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems\\\\u003E\\\\nHeader differences:\\\\n \\\\u003Cx-ms-activity-id\\\\u003E is absent in request, value \\\\u003C40e54ef1-e1ea-4a5b-aada-9c3814dc5ba2\\\\u003E\\\\n \\\\u003Cx-ms-date\\\\u003E is absent in request, value \\\\u003CWed, 27 May 2026 05:51:41 GMT\\\\u003E\\\\nBody differences:\\\\nRemaining Entries:\\\\n0: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems\\\\n1: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems/docs\\\\n2: https://Sanitized.documents.azure.com/dbs/4AIhAA==/colls/4AIhAOM69Xg=/pkranges\\\\n3: https://Sanitized.documents.azure.com/dbs/4AIhAA==/colls/4AIhAOM69Xg=/pkranges\\\\n4: https://Sanitized.documents.azure.com/dbs/ToDoList/colls/VectorItems/docs\\\\n\\u0022,\\u0022Status\\u0022:\\u0022NotFound\\u0022}\\nRequestUri: http://127.0.0.1:50185/;\\nRequestMethod: GET;\\nHeader: Authorization Length: 40;\\nHeader: User-Agent Length: 152;\\nHeader: Cache-Control Length: 8;\\nHeader: x-ms-version Length: 10;\\nHeader: x-ms-cosmos-sdk-supportedcapabilities Length: 1;\\nHeader: Accept Length: 16;\\nHeader: x-recording-upstream-base-uri Length: 38;\\n\\nActivityId: a2bbed6c-6476-4e66-ade6-61807a2141c9, Request URI: /, RequestStats: , SDK: Darwin/10.20 cosmos-netstandard-sdk/3.18.0\",\"stackTrace\":\" at Microsoft.Azure.Cosmos.GatewayStoreClient.ParseResponseAsync(HttpResponseMessage responseMessage, JsonSerializerOptions serializerSettings, DocumentServiceRequest request)\\n at Microsoft.Azure.Cosmos.GatewayStoreModel.GetDatabaseAccountAsync(Func\\u00601 requestMessage, IClientSideRequestStatistics clientSideRequestStatistics, CancellationToken cancellationToken)\\n at Microsoft.Azure.Cosmos.DocumentClient.GetDatabaseAccountPrivateAsync(Uri serviceEndpoint, CancellationToken cancellationToken)\\n at Microsoft.Azure.Cosmos.ClientContextCore.RunWithDiagnosticsHelperAsync[TResult](String containerName, String databaseName, OperationType operationType, ITrace trace, Func\\u00602 task, Nullable\\u00601 openTelemetry, RequestOptions requestOptions, Nullable\\u00601 resourceType)\\n at Microsoft.Azure.Cosmos.ClientContextCore.OperationHelperWithRootTraceAsync[TResult](String operationName, String containerName, String databaseName, OperationType operationType, RequestOptions requestOptions, Func\\u00602 task, Nullable\\u00601 openTelemetry, TraceComponent traceComponent, TraceLevel traceLevel, Nullable\\u00601 resourceType)\\n at Azure.Mcp.Tools.Cosmos.Services.CosmosService.ValidateCosmosClientAsync(CosmosClient client, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 145\\n at Azure.Mcp.Tools.Cosmos.Services.CosmosService.CreateCosmosClientWithAuth(String accountName, String subscription, AuthMethod authMethod, String tenant, String resourceGroup, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 126\\n at Azure.Mcp.Tools.Cosmos.Services.CosmosService.GetCosmosClientAsync(String accountName, String subscription, AuthMethod authMethod, String tenant, String resourceGroup, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/src/Services/CosmosService.cs:line 164\\n at Azure.Mcp.Tools.Cosmos.Services.CosmosService.QueryItems(String accountName, String databaseName, String containerName, String query, String subscription, AuthMethod authMethod, String tenant, RetryPolicyOptions retryPolicy, CancellationToken cancellationToken) in /Users/runner/
Raw output
at Microsoft.Mcp.Tests.TestExtensions.AssertProperty(JsonElement element, String propertyName) in /Users/runner/work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/TestExtensions.cs:line 58
at Microsoft.Mcp.Tests.TestExtensions.AssertProperty(Nullable`1 element, String propertyName) in /Users/runner/work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/TestExtensions.cs:line 53
at Azure.Mcp.Tools.Cosmos.Tests.CosmosCommandTests.Should_show_single_item_from_cosmos_account() in /Users/runner/work/1/s/tools/Azure.Mcp.Tools.Cosmos/tests/Azure.Mcp.Tools.Cosmos.Tests/CosmosCommandTests.cs:line 172
--- End of stack trace from previous location ---
Loading