Skip to content

[tests] Fix a few flaky FPGA tests#188

Draft
rtorok-zr wants to merge 2 commits intomasterfrom
flaky-fpga-tests
Draft

[tests] Fix a few flaky FPGA tests#188
rtorok-zr wants to merge 2 commits intomasterfrom
flaky-fpga-tests

Conversation

@rtorok-zr
Copy link
Contributor

This is a working PR for updating various FPGA tests to make them less flaky in CI.

These tests were flaky in the CI, because they push right up against the 1500s
'long' timeout.

Signed-off-by: Ryan Torok <rtorok@zerorisc.com>
@rtorok-zr rtorok-zr requested review from pqcfox and qmn January 26, 2026 17:20
@rtorok-zr rtorok-zr marked this pull request as draft January 26, 2026 17:20
Adjusts the duty cycle tolerance in the pwm_smoketest to accept values within
one percentage point of the expected value instead of 1% of the value. This
prevents the test from becoming stricter for smaller duty cycles. For example,
a test with a 10% duty cycle should accept between 9-11% duty, not 9.9-10.1%.

Signed-off-by: Ryan Torok <rtorok@zerorisc.com>
Copy link
Contributor

@pqcfox pqcfox left a comment

Choose a reason for hiding this comment

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

LGTM, modulo the lint check ^^

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.

2 participants