[Bug 17476] New: Failed test 'Create DateTime with dt_from_string() for 2100-01-01 with TZ in less than 2s'
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Bug ID: 17476 Summary: Failed test 'Create DateTime with dt_from_string() for 2100-01-01 with TZ in less than 2s' Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: mirko@abunchofthings.net QA Contact: gmcharlt@gmail.com 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 ....................... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 56716 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56716&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56716|0 |1 is obsolete| | --- Comment #2 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 56719 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56719&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56719|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 57232 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57232&action=edit [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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |kyle@bywatersolutions.com --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for 16.11, thanks Jonathan! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17476 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com --- Comment #5 from Mason James <mtj@kohaaloha.com> --- Pushed to 16.05.x, for 16.05.06 release -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org