You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RealtimeIt#testExtraTrip fails for some local time zones #1210
I just ran the tests for the current master using the time one UTC+10:00 and the test RealtimeIt#testExtraTrip failed. If I change my time zone to Shanghai UTC+08:00 it works. If I change my time zone to Perth AWST (same time as UTC+08:00 right now), it fails.
Maybe @michaz you have an idea what might be happening here? In the test we define the time zone, but maybe the server itself runs on a different time zone?
Activity
michaz commentedon Nov 4, 2017
Haha, nice. I probably left some debug or mock thing in there which uses the "current" time zone. Good that we are a global team. :)
michaz commentedon Nov 4, 2017
(Will look at it today)
karussell commentedon Nov 4, 2017
As we stumbled over this recently #1209 maybe we should use something like the policeman tools?
https://github.com/policeman-tools/forbidden-apis/wiki
http://blog.thetaphi.de/2012/07/default-locales-default-charsets-and.html
boldtrn commentedon Nov 7, 2017
I second that! I think this is a good idea :). I created a PR #1213 testing the policeman tools.
boldtrn commentedon Dec 8, 2017
Any updated on this @michaz? Could we ignore this test until the problem is solved?
michaz commentedon Dec 8, 2017
Just a second..
michaz commentedon Dec 8, 2017
That was a really helpful ticket, thanks for reminding me!
boldtrn commentedon Dec 9, 2017
Thanks so much for fixing this @michaz!