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

Implemented guardian-supervisor-strategy hocon setting #1746

Merged

Conversation

JeffCyr
Copy link
Contributor

@JeffCyr JeffCyr commented Mar 3, 2016

This PullRequest makes it possible to change the User Guardian supervision strategy with the guardian-supervisor-strategy` hocon setting.

@marcpiechura
Copy link
Contributor

I think this is a duplicate of #1525 :)

@JeffCyr
Copy link
Contributor Author

JeffCyr commented Mar 3, 2016

Doh!

@Aaronontheweb
Copy link
Member

@Silv3rcircl3 @JeffCyr yeah, but #1525 looks like it's still a work in progress - need that TestKit.EventFilter to be able to apply to multiple actor systems in order to test this, right?

@marcpiechura
Copy link
Contributor

yep, right and theoretically this PR would also need this. I assume that's the reason why @JeffCyr has changed the implementation of these tests compared to the scala version.

@JeffCyr JeffCyr force-pushed the supervisorstrategyconfigurator branch from 2f49119 to cb07731 Compare March 3, 2016 16:37
@JeffCyr
Copy link
Contributor Author

JeffCyr commented Mar 3, 2016

@Silv3rcircl3 @Aaronontheweb I didn't understand why the scala version used the EventFilter, don't you think it is a bit zealous? The test is more about asserting that the actor has stopped than observing that an exception was thrown from the actor.


a.Tell("die");

var t = probe.ExpectTerminated(a);
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, this looks fine to me - don't think we need #1753 to complete this. The ExpectTerminated does the job.

Aaronontheweb added a commit that referenced this pull request Mar 7, 2016
Implemented `guardian-supervisor-strategy` hocon setting
@Aaronontheweb Aaronontheweb merged commit 3d5d11c into akkadotnet:dev Mar 7, 2016
@Aaronontheweb
Copy link
Member

Compared to the JVM source and it seemed complete and correct to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants