-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 7.1.0RC4 test failures on master #26488
Comments
There is something fishy in the comments code. The database column is called Let's find out... |
PHP 5.6:
PHP 7.1.0RC4:
When saving into the DB the milliseconds part is lost. So I guess it's just a matter of adjusting the test to ignore the ms part when checking. |
And 7.1.0RC1 also didn't generate the milliseconds part, but RC4 does it.
|
Ok, looks like it's intentional: https://bugs.php.net/bug.php?id=73247 |
Fix is here: #26502 |
Well, it's not really intentional, its a bug existing in RC 1-3. Working on a fix on our side here does not seem right. Personally i would just update jenkins to rc4 and ignore those tests failing in rc1-3. What do you think about that? |
Jenkins is already updated to RC4. These tests passed on RC1-3. The "problem" is introduced in RC4 by PHP when they fixed the I think the way the PR is written is the correct approach. Even if older PHP versions would provide a microtime, that one doesn't get written to the DB so the assert comparison was wrong anyway. So fixing that is the way to go. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
@DeepDiver1975 @PhilippSchaffrath
The text was updated successfully, but these errors were encountered: