-
Notifications
You must be signed in to change notification settings - Fork 20
Cleanup power formula tests #1353
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
Conversation
Formula generation and evaluation are implemented separately and tested elsewhere. So here we only need to test that the formulas apply the correct formula. Signed-off-by: Sahas Subramanian <[email protected]>
Formula generation and evaluation are implemented separately and tested elsewhere. So here we only need to test that the formulas apply the correct formula. Signed-off-by: Sahas Subramanian <[email protected]>
Formula generation and evaluation are implemented separately and tested elsewhere. So here we only need to test that the formulas apply the correct formula. Signed-off-by: Sahas Subramanian <[email protected]>
These tests should ideally use custom formulas and not depend on the formula generator, but that's a bigger change because that would affect most of the tests in this repo. Signed-off-by: Sahas Subramanian <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
llucax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I think we probably make more noise about the version bump.
RELEASE_NOTES.md
Outdated
| ## Upgrading | ||
|
|
||
| <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with --> | ||
| - The minimum required version of `frequenz-microgrid-component-graph` is now `0.3.4`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe copy the release notes of 0.3.4 or at least give a link to them and make it more prominent that there were some behavioral changes in that release?
Signed-off-by: Sahas Subramanian <[email protected]>
It's not such a big deal because this has been the only behaviour that's ever been in production. The early versions of the rust component graph made two changes - one turned out to be a perf issue, the other one wasn't usable until operation modes are available, so they are both back to old SDK behaviour. But I've updated the release notes anyway. |
The generation and evaluation of the formulas are now implemented and tested separately. So here we only need to test we are calling the correct formulas.