[Koha-bugs] [Bug 31199] selenium/patrons_search.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 7 10:17:32 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31199

--- Comment #15 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to David Cook from comment #14)
> I've started tracking the loop iterations inside "wait_for_ajax" and
> sometimes it will finish within a few seconds and sometimes it takes longer
> with 10 re-attempts or 10 seconds being where it times out and fails.
> 
> 5 seconds seems to be fairly common on my machine. 
> 
> I've cranked the max retries up to 20 from 10 and now I'm not getting
> failures when a search takes 12 seconds instead of 5 seconds. 
> 
> Of course, it's not clear why sometimes it takes 12 seconds instead of 5
> seconds.

If you recreate this one easily it would be interesting to track it down. Could
you maybe enable mysql slow queries and hack the test script to not teardown
the data in case of failure, so that we could replay the query and see what's
causing the slowness?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list