Skip to content

Add tests for some edge cases to prevent regressions#1392

Merged
llucax merged 1 commit intofrequenz-floss:v1.x.xfrom
llucax:add-tests
May 5, 2026
Merged

Add tests for some edge cases to prevent regressions#1392
llucax merged 1 commit intofrequenz-floss:v1.x.xfrom
llucax:add-tests

Conversation

@llucax
Copy link
Copy Markdown
Contributor

@llucax llucax commented Apr 22, 2026

Add targeted tests adapted to the v1.x.x branch that verify behavior for issues identified in the pull request #1371:

  • Data sourcing: Verify duplicate subscription and unknown components with same channel name does not hang. There is also a test for invalid metrics, but this one is currently failing (it hangs), but since we plan to remove the data sourcing actor, we delay the fix for now.

  • Resampling: Verify invalid metric request does not block later valid request.

  • Power status subscriptions (battery, EV charger, PV pools): Verify same-instance subscriptions share the registry channel correctly.

@llucax llucax added this to the v1.0.0-rc2206 milestone Apr 22, 2026
@llucax llucax requested review from shsms and simonvoelcker April 22, 2026 13:19
@llucax llucax self-assigned this Apr 22, 2026
@llucax llucax requested a review from a team as a code owner April 22, 2026 13:19
@llucax llucax added the type:enhancement New feature or enhancement visitble to users label Apr 22, 2026
@github-actions github-actions Bot added the part:tests Affects the unit, integration and performance (benchmarks) tests label Apr 22, 2026
@llucax llucax enabled auto-merge April 23, 2026 09:19
simonvoelcker
simonvoelcker previously approved these changes Apr 23, 2026
Copy link
Copy Markdown
Contributor

@simonvoelcker simonvoelcker left a comment

Choose a reason for hiding this comment

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

Big fan of more tests 👍

Comment thread tests/actor/test_resampling.py Outdated
Comment thread tests/timeseries/_pv_pool/test_pv_pool.py Outdated
@llucax llucax added this pull request to the merge queue Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from To do to Review approved in Python SDK Roadmap Apr 23, 2026
@simonvoelcker simonvoelcker removed this pull request from the merge queue due to a manual request Apr 23, 2026
@llucax llucax added this pull request to the merge queue Apr 27, 2026
@llucax llucax removed this pull request from the merge queue due to a manual request Apr 27, 2026
Add targeted tests adapted to the v1.x.x branch that verify behavior for
issues identified in the pull request frequenz-floss#1371:

- Data sourcing: Verify duplicate subscription and unknown components
  with same channel name does not hang. There is also a test for invalid
  metrics, but this one is currently failing (it hangs), but since we
  plan to remove the data sourcing actor, we delay the fix for now.

- Resampling: Verify invalid metric request does not block later valid
  request.

- Power status subscriptions (battery, EV charger, PV pools): Verify
  same-instance subscriptions share the registry channel correctly.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax
Copy link
Copy Markdown
Contributor Author

llucax commented Apr 27, 2026

Fixed.

@llucax llucax added this pull request to the merge queue May 5, 2026
Merged via the queue into frequenz-floss:v1.x.x with commit 66903e5 May 5, 2026
7 checks passed
@llucax llucax deleted the add-tests branch May 5, 2026 12:29
@github-project-automation github-project-automation Bot moved this from Review approved to Done in Python SDK Roadmap May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tests Affects the unit, integration and performance (benchmarks) tests type:enhancement New feature or enhancement visitble to users

Projects

Development

Successfully merging this pull request may close these issues.

2 participants