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

Loosen timer test #407

Merged
merged 2 commits into from
Jun 1, 2022
Merged

Loosen timer test #407

merged 2 commits into from
Jun 1, 2022

Conversation

lkluft
Copy link
Member

@lkluft lkluft commented Jun 1, 2022

No description provided.

@lkluft lkluft requested a review from olemke June 1, 2022 11:55
typhon/tests/utils/test_utils.py Outdated Show resolved Hide resolved
It happened that the Github CI failed on Windows because the Timer was
shorter than the time the test should have slept. This is likely caused
by inaccuracies in the `sleep()` implementation.  As a workaround set a
specific error margin which also allows the measured time to be slightly
smaller than the given sleep time.
@olemke olemke merged commit 2c5e9d6 into atmtools:master Jun 1, 2022
@lkluft lkluft deleted the loosen-timer-test branch July 12, 2023 12:54
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