Don't know who to blame right now, so filing separately: prove t/db_dependent/www/batch.t t/db_dependent/www/batch.t .. Warning: <retrieval> element has non-unique value in 'name' key attribute: F at t/db_dependent/www/batch.t line 35. Warning: <retrieval> element has non-unique value in 'name' key attribute: B at t/db_dependent/www/batch.t line 35. t/db_dependent/www/batch.t .. 13/24 # Failed test 'found book' # at t/db_dependent/www/batch.t line 90. # undef # doesn't match '(?^u:Data structures)' # Failed test 'record marked as staged' # at t/db_dependent/www/batch.t line 91. # got: undef # expected: 'imported' # Failed test 'record has no matches' # at t/db_dependent/www/batch.t line 92. # got: undef # expected: 'no_match' Use of uninitialized value $biblionumber in concatenation (.) or string at t/db_dependent/www/batch.t line 96. # Failed test 'bib is imported' # at t/db_dependent/www/batch.t line 99. # searched: "\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a}\x{0a} \x{0a}\x{0a}\x{0a}\x{0a}\x{0a} \x{0a}\x{0a}"... # can't find: "Details for Data structures" # LCSS: "Details" # LCSS context: " </ul>\x{0a} </div>\x{0a}\x{0a}\x{0a} <div id="cartDetails"" t/db_dependent/www/batch.t .. 21/24 Use of uninitialized value $biblionumber in concatenation (.) or string at t/db_dependent/www/batch.t line 116. # Failed test 'record marked as reverted' # at t/db_dependent/www/batch.t line 124. # got: undef # expected: 'reverted' # Looks like you failed 5 tests of 24. t/db_dependent/www/batch.t .. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/24 subtests Test Summary Report ------------------- t/db_dependent/www/batch.t (Wstat: 1280 Tests: 24 Failed: 5) Failed tests: 15-17, 19, 24 Non-zero exit status: 5 Files=1, Tests=24, 26 wallclock secs ( 0.02 usr 0.00 sys + 1.76 cusr 0.13 csys = 1.91 CPU) Result: FAIL
Created attachment 161594 [details] [review] Bug 35922: Fix www/batch.t Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Obvious fix, speeding things up a bit ;)
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.03
Backported to 23.05.x for upcoming 23.05.10