A test for DateUtils.t fails on slow servers. There should be a way to skip it. # Failed test 'Create DateTime with dt_from_string() for 2100-01-01 with TZ in less than 2s' # at t/DateUtils.t line 82. # '2.51043486595154' # < # '2' # Looks like you failed 1 test of 60. t/DateUtils.t .......................
Created attachment 56716 [details] [review] Bug 17476: Add a way to bypass dt_from_string processing time for slow servers Bug 17476: Add a way to bypass dt_from_string processing time for slow servers We already change this value from 1 to 2 but apparently it's not enough So let's switch it back to on and add a flag (env var SLOW_SERVER) and skip these tests if set Test plan: prove t/DateUtils.t and SLOW_SERVER=1 prove t/DateUtils.t should return green
Created attachment 56719 [details] [review] Bug 17476: Add a way to bypass dt_from_string processing time for slow servers We already change this value from 1 to 2 but apparently it's not enough So let's switch it back to on and add a flag (env var SLOW_SERVER) and skip these tests if set Test plan: prove t/DateUtils.t and SLOW_SERVER=1 prove t/DateUtils.t should return green Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Created attachment 57232 [details] [review] [PASSED QA] Bug 17476: Add a way to bypass dt_from_string processing time for slow servers We already change this value from 1 to 2 but apparently it's not enough So let's switch it back to on and add a flag (env var SLOW_SERVER) and skip these tests if set Test plan: prove t/DateUtils.t and SLOW_SERVER=1 prove t/DateUtils.t should return green Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Pushed to master for 16.11, thanks Jonathan!
Pushed to 16.05.x, for 16.05.06 release