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

Convert to ImmutableHashSet for consistency in comparison #4090

Merged
merged 1 commit into from Dec 12, 2019
Merged

Convert to ImmutableHashSet for consistency in comparison #4090

merged 1 commit into from Dec 12, 2019

Conversation

ghost
Copy link

@ghost ghost commented Dec 12, 2019

This test was giving me a fairly high flip rate locally - and the fix is quite straight forward.

Previous code was equating an IEnumerable to an ImmutableHashSet which yields inconsistent results due to the way a ImmutableHashSet is structured. For consistency, we now convert to a ImmutableHashSet before the comparison.

@ghost
Copy link
Author

ghost commented Dec 12, 2019

Contributes to #3786

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 - nice catch

@Aaronontheweb Aaronontheweb merged commit 32325b9 into akkadotnet:dev Dec 12, 2019
Aaronontheweb pushed a commit to Aaronontheweb/akka.net that referenced this pull request Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant