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

[MNTR] Add ActorSystemSetup support #5045

Merged

Conversation

Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented May 27, 2021

Closes #5027

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

@@ -109,7 +109,7 @@ protected TestKitBase(ITestKitAssertions assertions, Config config, string actor
{
}

private TestKitBase(ITestKitAssertions assertions, ActorSystem system, ActorSystemSetup config, string actorSystemName, string testActorName)
protected TestKitBase(ITestKitAssertions assertions, ActorSystem system, ActorSystemSetup config, string actorSystemName, string testActorName)
Copy link
Member

Choose a reason for hiding this comment

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

LGTM

private MultiNodeSpec(
RoleName myself,
ActorSystem system,
ActorSystemSetup setup,
Copy link
Member

Choose a reason for hiding this comment

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

Got it - so this is really an option - you can pass in either a full-blown ActorSystem or an ActorSystemSetup but only one of them gets used - the former if it's not null.-

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, exactly.

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) May 27, 2021 20:54
@Aaronontheweb Aaronontheweb merged commit 73d19af into akkadotnet:dev May 27, 2021
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.

No way to provide IServiceCollection to MultiNodeClusterSpec created ActorSystem
2 participants