Skip to content

Conversation

Aaronontheweb
Copy link
Member

Changes

close #7421

private static string SanitizeTestEventListener(string logs)
{
var pattern = @"^.*Akka\.TestKit\.TestEventListener.*$";
var result = Regex.Replace(logs, pattern, string.Empty, RegexOptions.Multiline);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strip the offending [DEBUG][DateTime][Thread 0001][EventStream(test)] Logger log1-TestEventListener [Akka.TestKit.TestEventListener] line if the TestEventListener is detected.

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) December 20, 2024 19:56
@Aaronontheweb Aaronontheweb merged commit 61bdebf into akkadotnet:dev Dec 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Akka.API.Tests.DefaultLogFormatSpec.ShouldUseDefaultLogFormat: racy failures

1 participant