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

[Ready] Fix intermittent failing STM32 delay tests #33

Conversation

enzoevers
Copy link
Owner

@enzoevers enzoevers commented May 18, 2024

The problem was most likely caused by checking the ASSERTS too quickly after starting the thread. This might be the problem because the tests were failing intermittently even though there are no random inputs in the test.

@enzoevers
Copy link
Owner Author

Ran locally a 1000 times without failure:

$ ./Build/BuildTest/HAL/test/TestHAL --gtest_filter=FixtureDelayStm32.* --gtest_repeat=1000

… if running tests locally without the script
@enzoevers enzoevers changed the title [WIP] Fix intermittent failing STM32 delay tests [Ready] Fix intermittent failing STM32 delay tests May 18, 2024
@enzoevers enzoevers merged commit 6b3259a into main May 18, 2024
3 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.

Fix intermittend problems with FixtureDelayStm32.SynchronousWait_us_ tests
1 participant