]> git.koha-community.org Git - koha.git/commit
Bug 17476: Add a way to bypass dt_from_string processing time for slow servers
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Oct 2016 07:01:30 +0000 (07:01 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 Nov 2016 16:36:05 +0000 (16:36 +0000)
commit8eec57d605b379694927ef344f9a8c302a7b05d7
tree10380bde37db6378724cc374cb39f55fd60fd4a7
parent7e0f372b6c63778ad7a234e467d30303094f07e4
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/DateUtils.t