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

Fix missing actor context on test start #346

Merged
merged 1 commit into from Aug 1, 2023

Conversation

Arkatufus
Copy link
Contributor

Fixes #343

This bug is a bit weird, I think it is partially caused by TreadStaticAttribute on InternalCurrentActorCellKeeper._current and the fact that the ActorSystem and the actual unit test being run can reside in 2 different threads.

Changes

  • Make sure that actor context is available on test start

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

@Aaronontheweb Aaronontheweb merged commit 84886fa into akkadotnet:dev Aug 1, 2023
2 checks passed
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.

"There is no active ActorContext" exception in Context.System while running tests
2 participants