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

[nrf fromlist] tests: kernel: usage: thread_runtime_stats: Improve te… #2544

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

nordic-krch
Copy link
Contributor

…st_all_stats_usage

Improve robustness of test_all_stats_usage test. Test was relying on a fact that system did not go to idle before this test is run. It means that it was assuming that it will be the first test which might not be true. Additionally, on some targets there might be some idle waits during system boot. Test is adjusted to validate gathered statistics with an assumption that there might have been idle period prior to the test.

Upstream PR #: 86139

…st_all_stats_usage

Improve robustness of test_all_stats_usage test. Test was relying on a
fact that system did not go to idle before this test is run. It means
that it was assuming that it will be the first test which might not be
true. Additionally, on some targets there might be some idle waits
during system boot. Test is adjusted to validate gathered statistics
with an assumption that there might have been idle period prior to the
test.

Upstream PR #: 86139

Signed-off-by: Krzysztof Chruściński <[email protected]>
@nordic-krch nordic-krch force-pushed the ncs/thread_runtime_stats_test branch from 382a665 to d01c538 Compare February 24, 2025 11:51
@nordicjm nordicjm merged commit a596b2d into nrfconnect:main Feb 26, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants