Skip to content

Commit 2429a1f

Browse files
CopilotYunchuWang
andcommitted
Simplify comment in GetLogs method
Co-authored-by: YunchuWang <[email protected]>
1 parent c2f2f66 commit 2429a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Grpc.IntegrationTests/IntegrationTestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ protected IHostBuilder CreateHostBuilder(
9696
protected IReadOnlyCollection<LogEntry> GetLogs()
9797
{
9898
// Use the specific Worker.Grpc category to get gRPC worker logs.
99-
// Note: TryGetLogs uses StartsWith matching, so "Microsoft.DurableTask" would match both
99+
// TryGetLogs uses StartsWith matching, so "Microsoft.DurableTask" would match both
100100
// the legacy category AND "Microsoft.DurableTask.Worker.Grpc", causing duplicate entries
101-
// when dual-category logging is enabled. Using the specific category avoids this issue.
101+
// when dual-category logging is enabled.
102102
const string ExpectedCategoryName = "Microsoft.DurableTask.Worker.Grpc";
103103
bool foundCategory = this.logProvider.TryGetLogs(ExpectedCategoryName, out IReadOnlyCollection<LogEntry> logs);
104104
Assert.True(foundCategory);

0 commit comments

Comments
 (0)