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
Timing-related failures #4
Comments
Yeah, I knew about these and I have a vague plan for fixing them. This should be fixed with the next release, hopefully. Thx for opening an official issue for it. |
… issues this is to address GitHub #4 (and numerous CPAN Testers failures) had to rearrange some existing tests (and also some comments) refactored the three-way equivalency test in t/datetime.t to use the new func also added comment doco to old func (`compare_times`) and new func (`generate_times_and_compare`)
Okay, I have a new test function which can compare datetimes up to 10 times in the hopes that they'll match at least one of those times. I was doing this before in the one place I had realized I might have this problem, but now I've centralized it into a test utility function. This way, if we find more places where timing is an issue, it's (fairly) easy to convert to using this function. Or, if we find that 10 times isn't enough, it's trivial to increase that (or maybe find a better approach than brute force). Hopefully this fixed the problem, but I'm going to give CPAN Testers a little while to chew on it before I close the issue. |
I think this issue is sufficiently corrected. I'm going to close it out now. |
The following fail looks like it's timing related:
The text was updated successfully, but these errors were encountered: