Skip to content

tests: posix: common: clock: remove poorly conditioned tests #38158

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

cfriedt
Copy link
Member

@cfriedt cfriedt commented Aug 30, 2021

The test assumed initial equality between CLOCK_MONOTONIC and CLOCK_REALTIME and also assumed coarse granularity for each clock. Neither of those assumptions are solid.

Furthermore, the test failed on multiple vendor boards which caused some concern.

Remove the poorly conditioned tests and remove some comments / printks.

Fixes #35703

@cfriedt cfriedt requested a review from dleach02 August 30, 2021 23:25
@cfriedt cfriedt requested a review from pfalcon as a code owner August 30, 2021 23:25
@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label Aug 30, 2021
@cfriedt cfriedt requested a review from MaureenHelm August 30, 2021 23:26
The test assumed initial equality between CLOCK_MONOTONIC and
CLOCK_REALTIME and also assumed coarse granularity for each clock.
Neither of those assumptions are solid.

Furthermore, the test failed on multiple vendor boards which caused
some concern.

Remove the poorly conditioned tests and remove some comments
/ printks.

Fixes zephyrproject-rtos#35703

Signed-off-by: Christopher Friedt <[email protected]>
@cfriedt cfriedt force-pushed the issue/35703/posix-api-fails-at-test-posix-realtime-for-mimxrt1024-evk branch from 378625e to 0d4bfc3 Compare August 30, 2021 23:30
@nashif nashif merged commit 51030e4 into zephyrproject-rtos:main Sep 10, 2021
@cfriedt cfriedt deleted the issue/35703/posix-api-fails-at-test-posix-realtime-for-mimxrt1024-evk branch January 26, 2024 16:01
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

posix_apis: fails at test_posix_realtime for mimxrt1024_evk
3 participants