diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml index 8e464a9b6e..a659800720 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml @@ -2596,753 +2596,6 @@ - - - - - ChangeFeed API With Query - feedIterator = containerInternal.GetChangeFeedIterator( - ChangeFeedStartFrom.Beginning(), - ChangeFeedMode.Incremental); - - List traces = new List(); - - while (feedIterator.HasMoreResults) - { - FeedResponse responseMessage = await feedIterator.ReadNextAsync(cancellationToken: default); - if (responseMessage.StatusCode == System.Net.HttpStatusCode.NotModified) - { - break; - } - - ITrace trace = ((CosmosTraceDiagnostics)responseMessage.Diagnostics).Value; - traces.Add(trace); - } - - ITrace traceForest = TraceJoiner.JoinTraces(traces); -]]> - - - - - - Microsoft.DocumentDB - https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName - cosmosdb - Some Value - 127.0.0.1 - Some Value - Some Value - Direct - ReadFeed - Some Value - Some Value - Some Value - Some Value - South Central US - - - Microsoft.DocumentDB - https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName - cosmosdb - Some Value - 127.0.0.1 - Some Value - Some Value - Direct - ReadFeed - Some Value - Some Value - Some Value - Some Value - South Central US - - - Microsoft.DocumentDB - https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName - cosmosdb - Some Value - 127.0.0.1 - Some Value - Some Value - Direct - ReadFeed - Some Value - Some Value - Some Value - Some Value - South Central US - - - Microsoft.DocumentDB - https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName - cosmosdb - Some Value - 127.0.0.1 - Some Value - Some Value - Direct - ReadFeed - Some Value - Some Value - Some Value - Some Value - South Central US - - - Microsoft.DocumentDB - https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName - cosmosdb - Some Value - 127.0.0.1 - Some Value - Some Value - Direct - ReadFeed - Some Value - Some Value - Some Value - Some Value - South Central US - - - - - - diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs index 96fdea9f34..c666fea174 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs @@ -387,42 +387,6 @@ public async Task ChangeFeedAsync() } //---------------------------------------------------------------- - //---------------------------------------------------------------- - // ChangeFeed Public API Typed (With Query) - //---------------------------------------------------------------- - { - ChangeFeedQuerySpec querySpec = new ChangeFeedQuerySpec("Select * from c"); - - startLineNumber = GetLineNumber(); - ContainerInternal containerInternal = (ContainerInternal)container; - FeedIterator feedIterator = containerInternal.GetChangeFeedIteratorWithQuery( - ChangeFeedStartFrom.Beginning(), - ChangeFeedMode.Incremental, - querySpec); - - List traces = new List(); - - while (feedIterator.HasMoreResults) - { - FeedResponse responseMessage = await feedIterator.ReadNextAsync(cancellationToken: default); - if (responseMessage.StatusCode == System.Net.HttpStatusCode.NotModified) - { - break; - } - - ITrace trace = ((CosmosTraceDiagnostics)responseMessage.Diagnostics).Value; - traces.Add(trace); - } - - ITrace traceForest = TraceJoiner.JoinTraces(traces); - endLineNumber = GetLineNumber(); - - inputs.Add(new Input("ChangeFeed API With Query", traceForest, startLineNumber, endLineNumber, EndToEndTraceWriterBaselineTests.testListener?.GetRecordedAttributes())); - - EndToEndTraceWriterBaselineTests.AssertAndResetActivityInformation(); - } - //---------------------------------------------------------------- - //---------------------------------------------------------------- // ChangeFeed Public API Typed //----------------------------------------------------------------