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' # PARAM:--- # verb: ListMetadataFormats # EXPECTED:--- # ListMetadataFormats: # metadataFormat: # - metadataNamespace: http://www.openarchives.org/OAI/2.0/oai_dc/ # metadataPrefix: oai_dc # schema: http://www.openarchives.org/OAI/2.0/oai_dc.xsd # - metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim # metadataPrefix: marc21 # schema: http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd # - metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim # metadataPrefix: marcxml # schema: http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd # request: http://localhost # responseDate: 2017-06-12T14:31:50Z # xmlns: http://www.openarchives.org/OAI/2.0/ # xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance # xsi:schemaLocation: http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd # RESPONSE:--- # ListMetadataFormats: # metadataFormat: # - metadataNamespace: http://www.openarchives.org/OAI/2.0/oai_dc/ # metadataPrefix: oai_dc # schema: http://www.openarchives.org/OAI/2.0/oai_dc.xsd # - metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim # metadataPrefix: marc21 # schema: http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd # - metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim # metadataPrefix: marcxml # schema: http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd # request: http://localhost # responseDate: 2017-06-12T14:31:51Z # xmlns: http://www.openarchives.org/OAI/2.0/ # xmlns:xsi: http://www.w3.org/2001/XMLSchema-instance # xsi:schemaLocation: http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd # Looks like you failed 1 test of 28. [14:32:04] t/db_dependent/OAI/Server.t ...............................
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