[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 06:36:30 CET 2023


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

--- Comment #18 from David Cook <dcook at prosentient.com.au> ---
However...

I just ran "prove -v ./t/db_dependent/selenium/patrons_search.t" and it failed.

And I see that there is a 9 second gap in between 2 of the test requests which
looks like it's just 1 key stroke different. The lack of debouncing might be
causing the problem. It looks like Apache or Starman get overwhelmed and that's
when this happens... 

--

172.21.0.5 - - [08/Nov/2023:05:30:12 +0000] "GET
/api/v1/app.pl/api/v1/patrons?_page=1&_per_page=-1&q=%7B%22-and%22%3A%5B%5B%7B%22me.date_of_birth%22%3A%7B%22like%22%3A%22%2519%25%22%7D%7D%5D%2C%5B%7B%22-and%22%3A%5B%5B%7B%22me.firstname
%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.middle_name%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.surname%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.othernames%22%3A%7B%22like%22%
3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.cardnumber%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.userid%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%5D%5D%7D%2C%7B%22-or%22%3A%5B%7B%22me.firstname%22%3A%7B%22like
%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.middle_name%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.surname%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.othernames%22%3A%7B%22like%22%3A%22%25test_pat
ron%25%22%7D%7D%2C%7B%22me.cardnumber%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.userid%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%5D%7D%2C%7B%22-and%22%3A%5B%5B%7B%22extended_attributes.value%22%3A%7B%22like%2
2%3A%22%25test_patron%25%22%7D%2C%22extended_attributes.code%22%3A%5B%22my%20code2%22%5D%7D%5D%5D%7D%5D%5D%7D&_match=contains&_order_by=%2Bme.surname%2C%2Bme.firstname%2C%2Bme.middle_name%2C%2Bme.othernames%2C%2Bme.street_number%2C%2Bme.
address%2C%2Bme.address2%2C%2Bme.city%2C%2Bme.state%2C%2Bme.postal_code%2C%2Bme.country
HTTP/1.1" 200 -
"http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha//members/members-home.pl"
"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100
101 Firefox/92.0"


172.21.0.5 - - [08/Nov/2023:05:30:21 +0000] "GET
/api/v1/app.pl/api/v1/patrons?_page=1&_per_page=-1&q=%7B%22-and%22%3A%5B%5B%7B%22me.date_of_birth%22%3A%7B%22like%22%3A%22%25198%25%22%7D%7D%5D%2C%5B%7B%22-and%22%3A%5B%5B%7B%22me.firstnam
e%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.middle_name%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.surname%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.othernames%22%3A%7B%22like%22
%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.cardnumber%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.userid%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%5D%5D%7D%2C%7B%22-or%22%3A%5B%7B%22me.firstname%22%3A%7B%22lik
e%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.middle_name%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.surname%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.othernames%22%3A%7B%22like%22%3A%22%25test_pa
tron%25%22%7D%7D%2C%7B%22me.cardnumber%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%2C%7B%22me.userid%22%3A%7B%22like%22%3A%22%25test_patron%25%22%7D%7D%5D%7D%2C%7B%22-and%22%3A%5B%5B%7B%22extended_attributes.value%22%3A%7B%22like%
22%3A%22%25test_patron%25%22%7D%2C%22extended_attributes.code%22%3A%5B%22my%20code2%22%5D%7D%5D%5D%7D%5D%5D%7D&_match=contains&_order_by=%2Bme.surname%2C%2Bme.firstname%2C%2Bme.middle_name%2C%2Bme.othernames%2C%2Bme.street_number%2C%2Bme
.address%2C%2Bme.address2%2C%2Bme.city%2C%2Bme.state%2C%2Bme.postal_code%2C%2Bme.country
HTTP/1.1" 200 -
"http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha//members/members-home.pl"
"Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/2010
0101 Firefox/92.0"

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


More information about the Koha-bugs mailing list