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

Remove redundant check in BatteryPool tests #1085

Conversation

ela-kotulska-frequenz
Copy link
Contributor

This commit removes a redundant check from the BatteryPool tests. The check was deemed unnecessary as we already use a timeout when waiting for messages, which effectively proves that messages are received quickly.

The removed check had recently started failing in CI environments, on arm64 architecture with Python3.11 and pytest_max. Despite efforts to reproduce the failure locally on arm64, all tests passed successfully.

The CI failure appears to be caused by an 'await' hanging rather than an issue in our codebase. Removing this redundant check should resolve the intermittent CI failures without compromising test coverage or reliability.

@ela-kotulska-frequenz ela-kotulska-frequenz added the part:tests Affects the unit, integration and performance (benchmarks) tests label Oct 10, 2024
@ela-kotulska-frequenz ela-kotulska-frequenz self-assigned this Oct 10, 2024
@ela-kotulska-frequenz ela-kotulska-frequenz requested a review from a team as a code owner October 10, 2024 09:44
@ela-kotulska-frequenz ela-kotulska-frequenz requested review from shsms and removed request for a team October 10, 2024 09:44
shsms
shsms previously approved these changes Oct 10, 2024
This commit removes a redundant check from the BatteryPool tests.
The check was deemed unnecessary as we already use a timeout
when waiting for messages, which effectively proves that messages
are received quickly.

The removed check had recently started failing in CI environments,
on arm64 architecture with Python3.11 and pytest_max.
Despite efforts to reproduce the failure locally on arm64, all tests
passed successfully.

The CI failure appears to be caused by an 'await' hanging rather than an
issue in our codebase. Removing this redundant check should resolve
the intermittent CI failures without compromising test coverage or
reliability.

Signed-off-by: Elzbieta Kotulska <elzbieta.kotulska@frequenz.com>
@ela-kotulska-frequenz ela-kotulska-frequenz added this pull request to the merge queue Oct 10, 2024
Merged via the queue into frequenz-floss:v1.x.x with commit 31605c6 Oct 10, 2024
18 checks passed
@ela-kotulska-frequenz ela-kotulska-frequenz deleted the bat_pool_test branch October 10, 2024 10:48
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
Projects
Development

Successfully merging this pull request may close these issues.

2 participants