Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix of EventFilter.And from Akka.testKit when one parameter is string (#6316). #6371

Merged
merged 3 commits into from
Feb 7, 2023

Conversation

F0b0s
Copy link
Contributor

@F0b0s F0b0s commented Jan 27, 2023

Fixes #6316

Changes

The problem was in TestEventListenerClass because it calls ShouldFilter for deadLetter twice - first time with real parameter type and the second one with string param. So, for tests with DeadLetter<string> it might became false positive.

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

@F0b0s
Copy link
Contributor Author

F0b0s commented Feb 4, 2023

@Aaronontheweb merge?

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM - going to let CI run

@Aaronontheweb Aaronontheweb added the akka-testkit Akka.NET Testkit issues label Feb 7, 2023
@Aaronontheweb Aaronontheweb added this to the 1.5.0 milestone Feb 7, 2023
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) February 7, 2023 01:15
@Aaronontheweb Aaronontheweb merged commit 83341fa into akkadotnet:dev Feb 7, 2023
@F0b0s F0b0s deleted the event_filter_fix branch February 17, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
akka-testkit Akka.NET Testkit issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Akka.TestKit: EventFilter.And does not correctly support typed parameters
2 participants