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

Fixed Akka.Cluster.TestKit nuget package (Fixes #3131) #3139

Conversation

derrickcrowne
Copy link
Contributor

Removed Akka.Cluster.TestKit's dependency on Akka.Test.Shared.Internals which is not on nuget (and according to it's readme not intended to be public).

Replaced the usages of "Should" extension assertions with ITestKitAssertions as they were used elsewhere in the file, and the Shared.Internals extensions weren't really providing that much value.

…a.Tests.Shared.Internals, which is not public.

Replaced usages of "Should" extension assertions with ITestKitAssertions as to not require Akka.Tests.Shared.Internals.
@derrickcrowne
Copy link
Contributor Author

This can be considered a breaking change since Akka.Cluster.TestKit version 1.2.3 and earlier was exposing the AkkaSpecExtensions class because it was a public linked file. Not sure if that was intentional or not.

@Aaronontheweb
Copy link
Member

@derrickcrowne thanks! No, this was not an intentional breaking change. An oversight on our part mostly due to the change in MSBUILD15 and how we handled linked files.

});
AwaitAssert(() => ClusterView.Members.Count.ShouldBe(numbersOfMembers));
AwaitAssert(() => ClusterView.Members.All(m => m.Status == MemberStatus.Up).ShouldBeTrue("All members should be up"));
AwaitAssert(() => _assertions.AssertEqual(numbersOfMembers, ClusterView.Members.Count));
Copy link
Member

Choose a reason for hiding this comment

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

Please add the "All members should be up" error message back here.

Copy link
Member

Choose a reason for hiding this comment

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

Ah whoops, nevermind. It's there on the line below.

@Aaronontheweb
Copy link
Member

Closes #3131

@Aaronontheweb Aaronontheweb merged commit 0ce05f0 into akkadotnet:dev Oct 4, 2017
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.

2 participants