-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
fix issue 21148, possible failure of CI when testing nano precision of file time stamps #7589
Conversation
…f file time stamps If the kernel setting for the software clock frequency (HZ) is set to 100, we got 10 msec resolution. CIs being on VMs we cant control it's better to assume that the setting can be set to this worst value, so test with a value greater than 10 msecs.
|
Thanks for your pull request, @NilsLankila! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7589" |
|
Another valid approach is to drop this test. What is tested here ? a kernel feature ? |
This is easily answerable using I believe the test is for the part of the |
|
I approve with the proviso that your explanation above be added as a comment to that test. Otherwise, that test will remain a mystery, not many people look at And thanks for the quick action on this bug, @NilsLankila ! We're slowly bending the test suite into a state where a perfect PR is getting more than a 50% likelihood of passing all the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the comment.
|
done, to be clear it is not sure that this will solve the failures, it's just that, according to the doc, a too tight sleep time can be a cause. |
remove repeated word
|
BTW if someone starts the merge train, dont forget to auto-merge-squash as I've made this PR online. |
…f file time stamps (dlang#7589) fix issue 21148, possible failure of CI when testing nano precision of file time stamps merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
from man time:
TL;DR
If the kernel setting for the software clock frequency (HZ) is set to 100, we got 10 msec resolution. CIs being on VMs we cant control it's better to assume that the setting can be set to this worst value, so test with a value greater than 10 msecs.