[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.02-108-gfba97f0

Git repo owner gitmaster at git.koha-community.org
Fri Aug 24 11:13:23 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 18.05.x has been updated
       via  fba97f0772ad6fd40b359e626ce9fb82f3d92182 (commit)
      from  2cb4bbd8baba9df1177fb965619df0328263541f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fba97f0772ad6fd40b359e626ce9fb82f3d92182
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Aug 16 12:29:43 2018 -0300

    Bug 21238: Prevent TemplateToolkit.t to fail on slow servers
    
    It failed 3x in the last 6 runs (on node 1), we should mock
    DateTime->now to prevent it to fail again.
    
    The error is:
    koha_1       |         #   Failed test at
    t/db_dependent/Letters/TemplateToolkit.t line 724.
    
    When comparing <<today>> replacement:
    koha_1       |         # 08/16/2018 14:25<br />
    [...]
    koha_1       |         # 08/16/2018 14:24<br />
    
    Let's mock DateTime->now to prevent it to fail again.
    
    Test plan:
    0. Do not apply this patch
    1. Add "sleep(60);" at line ~715, before "# Add a second checkout"
    2. Run the tests
    => Fail!
    3. Apply this patch
    4. Run the tests again
    => Pass!
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit d24d77d495a56e76046907ab19e9474cab28169c)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-----------------------------------------------------------------------

Summary of changes:
 t/db_dependent/Letters/TemplateToolkit.t |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list