]> 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)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:10 +0000 (14:54 +1300)
commit22cbe4618555a0fa07c321abdfebe0fa8cd0dd3f
tree4c7af95a5e277b0a1b8534594c28414f02ddbe78
parent2bc7fc1551e2c4b37fd054a733e36494adda02e3
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: Mason James <mtj@kohaaloha.com>
t/DateUtils.t