-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Timezones integration tests intermittently failing #1045
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
Comments
Yes, I know they do that on Travis CI. I'm not sure what the reason is. I've asked people in the past to help, but never got a response :( Please, please, if you can figure it out, I would be forever grateful!! |
I hate dealing with dates but challenge tentatively accepted! |
I haven't found the underlying cause, but I know what I can do to make the tests pass. The offsets are popped of the tests array: var tests = [0, 1, 5, 12, 26, -1, -5, -20, 'Z', 'local']; With '0' being last and failing. When I reduce down to just that: var tests = [0];` The tests start to pass. Adding the others back in, one at a time, the var tests = [0, 'local']; To sum up, testing I'll dig a little bit deeper... |
I've not looked at this in a while. Still on my todo list though! |
@adrianblynch there's no rush :) |
And updates :)? |
I'm running the integration tests and they fail on:
node-mysql/test/integration/connection/test-timezones.js:67:12
With an assertion error:
"Wed Apr 01 2015 07:50:00 GMT+0100 (BST)" === "Wed Apr 01 2015 08:50:00 GMT+0100 (BST)"
Throwing in some debugging, the failing case is when the offset is
0
.I'm running this locally, testing using your guidance from the readme.
SHOW VARIABLES LIKE "%version%";
Returns:
Just to add a little more confusion, they passed once with no changes!
Is there any more info I can supply to help debug this?
The text was updated successfully, but these errors were encountered: