Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Jun 19, 2024
1 parent 1009f6e commit d4e5665
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions test/FunctionsV2/CorrelationEndToEndTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,6 @@ private static List<OperationTelemetry> GetCorrelationSortedList(OperationTeleme
var result = new List<OperationTelemetry>();
if (current.Count != 0)
{
/*foreach (var some in current)
{
if (parent.Id == some.Context.Operation.ParentId)
{
Console.WriteLine("match");
}
}*/

IOrderedEnumerable<OperationTelemetry> nexts = current.Where(p => p.Context.Operation.ParentId == parent.Id).OrderBy(p => p.Timestamp.Ticks);
foreach (OperationTelemetry next in nexts)
{
Expand Down
3 changes: 0 additions & 3 deletions test/FunctionsV2/OutOfProcTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,6 @@ public async Task TestLocalRcpEndpointRuntimeVersion(string runtimeVersion, bool
var logger = this.loggerProvider.CreatedLoggers.Single(l => l.Category == TestHelpers.LogCategory);
var logMessages = logger.LogMessages.ToList();

Assert.True(logMessages.Count > 0, "No log messages found.");
Console.WriteLine(logMessages);

bool enabledRpcEndpoint = logMessages.Any(msg => msg.Level == Microsoft.Extensions.Logging.LogLevel.Information && msg.FormattedMessage.StartsWith($"Opened local {expectedProtocol} endpoint:"));

Assert.Equal(enabledExpected, enabledRpcEndpoint);
Expand Down

0 comments on commit d4e5665

Please sign in to comment.