Bugzilla – Attachment 187900 Details for
Bug 41012
ILSDI_Services.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41012: (bug 40622 follow-up) Clear the MSS cache
Bug-41012-bug-40622-follow-up-Clear-the-MSS-cache.patch (text/plain), 1.51 KB, created by
David Cook
on 2025-10-15 05:17:30 UTC
(
hide
)
Description:
Bug 41012: (bug 40622 follow-up) Clear the MSS cache
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-10-15 05:17:30 UTC
Size:
1.51 KB
patch
obsolete
>From 550a2fb69ed37e654c82eb54eca1db4ddc189e74 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 15 Oct 2025 06:33:37 +0200 >Subject: [PATCH] Bug 41012: (bug 40622 follow-up) Clear the MSS cache > >For some reasons t/db_dependent/ILSDI_Services.t fails if run after >t/db_dependent/api/v1/biblios.t > >When we modify the MARC subfield structure from the tests we must flush >the cache. > >Actually I don't understand why the tests are even passing. > >I have not tracked down why it only fails when run after t/db_dependent/api/v1/biblios.t > >Test plan: >0. Do not apply this patch >1. prove t/db_dependent/api/v1/biblios.t t/db_dependent/ILSDI_Services.t >It fails > # Failed test 'Title hidden in output as expected' > # at t/db_dependent/ILSDI_Services.t line 874. > # got: '1' > # expected: '0' >2. Apply this patch, repeat 1. >=> it's green! > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > t/db_dependent/ILSDI_Services.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t >index d023f8ad3d..369f629f8b 100755 >--- a/t/db_dependent/ILSDI_Services.t >+++ b/t/db_dependent/ILSDI_Services.t >@@ -836,6 +836,7 @@ subtest 'GetRecords' => sub { > { frameworkcode => $biblio->frameworkcode, tagfield => "245", tagsubfield => "a" } ); > $framework_f245a->hidden('8'); > $framework_f245a->store(); >+ Koha::Caches->get_instance()->flush_all; > > my $patron = $builder->build( > { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41012
:
187899
| 187900