[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
Wed Nov 8 05:00:53 CET 2023


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

--- Comment #17 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #15)
> 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?

I haven't found a way to reliably reproduce it. 

(In reply to Jonathan Druart from comment #16)
> Hum, maybe I found a possible cause.
> 
> I was seeing "%test_patr%" in the request, but we never send that, we pass
> "test_patron". Looks like it's missing the delay and several (too many)
> requests are sent, which is overloading the server.

However, I'm tailing plack.log and I think you might be onto something here.

I was looking at "filter by date of birth" and it looks like multiple requests
are going out for each of the tests in the subtest with each GET.

It's hard to read the escaped output in plack.log but it looks like each key
stroke is sending a GET request. 

I have to head into a meeting, but I think you're on the right track, Jonathan.

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


More information about the Koha-bugs mailing list