[Koha-bugs] [Bug 20191] OAI/Server.t still fails on slow servers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 03:37:46 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20191

--- Comment #16 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 73669
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73669&action=edit
Bug 20191: Use Test::MockTime to hold time still

The problem is the calls to HTTP::OAI::Header, etc.
may reference gmtime which is continually changing by
the second. By forcing time to lock for all the tests,
except the last one, we can be assured things should
not fail.

TEST PLAN
---------
install libtest-mocktime-perl
apply only this patch
restart_all
in kshell, prove t/db_dependent/OAI/Server.t
run koha qa test tools

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list