Summary: | OAI/Server.t fails on slow servers | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, mtj |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 14939 | ||
Bug Blocks: | 20191 | ||
Attachments: |
Bug 18794: Fix test ListMetadataFormats in OAI/Server.t
[16.11.x] Bug 18794: Fix test ListMetadataFormats in OAI/Server.t |
Description
Jonathan Druart
2017-06-12 21:56:24 UTC
Created attachment 64240 [details] [review] Bug 18794: Fix test ListMetadataFormats in OAI/Server.t This test may fail on slow servers, it compares the response date with 'now', but both can differ a bit. https://jenkins.koha-community.org/job/Koha_Master_D8/198/consoleFull Failed test 'ListMetadataFormats' at t/db_dependent/OAI/Server.t line 150. Structures begin differing at: $got->{responseDate} = '2017-06-12T14:31:51Z' $expected->{responseDate} = '2017-06-12T14:31:50Z' Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 17.11, thanks to everybody involved! Pushed to 17.05.x, will be in 17.05.01 This patch has been pushed to 16.11.x and will be in 16.11.09. (In reply to Katrin Fischer from comment #4) > This patch has been pushed to 16.11.x and will be in 16.11.09. No, it is not in 16.11.x Sorry, this doesn't apply. Please provide a rebased patch! Created attachment 67656 [details] [review] [16.11.x] Bug 18794: Fix test ListMetadataFormats in OAI/Server.t This test may fail on slow servers, it compares the response date with 'now', but both can differ a bit. https://jenkins.koha-community.org/job/Koha_Master_D8/198/consoleFull Failed test 'ListMetadataFormats' at t/db_dependent/OAI/Server.t line 150. Structures begin differing at: $got->{responseDate} = '2017-06-12T14:31:51Z' $expected->{responseDate} = '2017-06-12T14:31:50Z' I did not execute the tests, please test before pushing. Now really: This patch has been pushed to 16.11.x and will be in 16.11.13. Pushed to 16.05.x, for 16.05.18 release |