-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix for #2456 #2457
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 for #2456 #2457
Conversation
- Changed range check in ClusterClientSettings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add an additional regression test for verifying that 0 works correctly, but otherwise this looks good.
@@ -42,7 +42,7 @@ public void ClusterClientSettings_must_have_default_config() | |||
} | |||
|
|||
[Theory] | |||
[InlineData(0)] | |||
[InlineData(-1)] | |||
[InlineData(10001)] | |||
public void ClusterClientSettings_must_throw_exception_on_wrong_buffer(int bufferSize) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add a separate spec that verifies that a 0 setting works and ClusterClient
can start correctly, in addition to this one.
Disabled spec because it still has some issues. This way this fix can be merged with 1.1.3. |
close #2456