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

tests: posix: common: k_usleep() synchro just before clock API #28516

Merged

Conversation

ABOSTM
Copy link
Collaborator

@ABOSTM ABOSTM commented Sep 18, 2020

tests: posix: common: k_usleep() synchro just before clock API

Move printk() out of k_usleep() tick alignment,
for a better tick synchro.

Fixes #25453

@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label Sep 18, 2020
Copy link
Contributor

@andyross andyross left a comment

Choose a reason for hiding this comment

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

FWIW: this test actually had a tick align already, what this is doing is getting the printk() out of the tick-aligned test path. I'd suggest changing the commit message to reflect that.

Move printk() out of k_usleep() tick alignment,
for a better tick synchro.

Fixes zephyrproject-rtos#25453

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@ABOSTM ABOSTM force-pushed the TEST_POSIX_COMMON_K_USLEEP_SYNCHRO branch from 97cf2df to 96e2af7 Compare September 18, 2020 15:13
@ABOSTM
Copy link
Collaborator Author

ABOSTM commented Sep 18, 2020

FWIW: this test actually had a tick align already, what this is doing is getting the printk() out of the tick-aligned test path. I'd suggest changing the commit message to reflect that.

Commit message updated + PR edit.
Done

@pabigot pabigot self-requested a review September 18, 2020 15:20
@MaureenHelm MaureenHelm added the bug The issue is a bug, or the PR is fixing a bug label Sep 18, 2020
Copy link
Collaborator

@pabigot pabigot left a comment

Choose a reason for hiding this comment

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

Ran this over 250 times with CONFIG_ZTEST_RETEST_IF_PASSED=y so it's probably fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests/posix/common fails on nucleo_wb55rg
5 participants