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

Synchronous test for grid agent in center position #118

Open
ckittl opened this issue Jan 26, 2022 · 0 comments
Open

Synchronous test for grid agent in center position #118

ckittl opened this issue Jan 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ckittl
Copy link
Member

ckittl commented Jan 26, 2022

As of #111, the GridAgent resp. DBFSAlgorithm uses the dispatcher from actor context. For execution of power flow calculation.

However, using the TestFSMRef for synchronous testing, the configured dispatcher is explicitly overridden to `CallingThreadDispatcher' utilizing only the calling thread. However, this poses the risk of dead locks, which we obviously fell in.

Synchronous test currently is disabled, as we intend to refactor to akka typed and therefore the test also needs refactoring. However, if that is done, re-implement a synchronous test!

@ckittl ckittl added the bug Something isn't working label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant