Skip to content

Retry time sensitive tests #582

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

Merged
merged 1 commit into from
May 13, 2024
Merged

Retry time sensitive tests #582

merged 1 commit into from
May 13, 2024

Conversation

bitfaster
Copy link
Owner

@bitfaster bitfaster commented May 13, 2024

Tests that depend on wall clock time are unstable. Clock is not abstracted since this incurs a perf penalty, and the unstable tests verify end to end behavior. Only for those tests, retry up to 3 times.

Based on the XUnit sample here:
https://github.com/xunit/samples.xunit/tree/main/RetryFactExample

@bitfaster bitfaster merged commit 315f64e into main May 13, 2024
13 checks passed
@bitfaster bitfaster deleted the users/alexpeck/retrytimetests branch May 13, 2024 00:58
@coveralls
Copy link

Coverage Status

coverage: 99.073% (-0.3%) from 99.353%
when pulling 0e5f118 on users/alexpeck/retrytimetests
into 36a7d57 on main.

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