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 power failure report #763

Conversation

daniel-zullo-frequenz
Copy link
Contributor

The succeeded power in PartialFailure result should exclude any failed power.

There was no unit tests covering PartialFailure results so this patch adds a test to cover the case where the microgrid, for any reason, fails to set power for one of the batteries in the power request.

Fixes #751

The succeeded power in PartialFailure result should exclude
any failed power.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
The test covers the case where the microgrid, for any reason,
fails to set power for one of the batteries in the power request.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
@daniel-zullo-frequenz daniel-zullo-frequenz requested a review from a team as a code owner November 2, 2023 21:06
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:actor Affects an actor ot the actors utilities (decorator, etc.) labels Nov 2, 2023
@daniel-zullo-frequenz daniel-zullo-frequenz added this pull request to the merge queue Nov 3, 2023
Merged via the queue into frequenz-floss:v1.x.x with commit 5cd8d9a Nov 3, 2023
@daniel-zullo-frequenz daniel-zullo-frequenz deleted the fix/power-failure-report branch November 3, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:actor Affects an actor ot the actors utilities (decorator, etc.) part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
Development

Successfully merging this pull request may close these issues.

Power distributor's PartialFailure messages report full power as succeeded
2 participants