Skip to content

Conversation

Danthar
Copy link
Member

@Danthar Danthar commented Jan 19, 2017

close #2456

  • Changed range check in ClusterClientSettings
  • Updated specs
  • Verified that 0 is an actual valid value used in the ClusterClient

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.

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)
Copy link
Member

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.

@Danthar
Copy link
Member Author

Danthar commented Jan 23, 2017

Disabled spec because it still has some issues. This way this fix can be merged with 1.1.3.
A new PR will be made to fix the spec.

@Aaronontheweb Aaronontheweb modified the milestone: 1.1.4 Jan 23, 2017
@Aaronontheweb Aaronontheweb merged commit 9c48f78 into akkadotnet:dev Jan 24, 2017
@Danthar Danthar deleted the cluster-tools-fix branch January 24, 2017 15:34
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.

Akka.Cluster.Tools client settings - setting buffer-size to 0 causes exception
2 participants