[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
Thu Nov 9 03:25:08 CET 2023


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

--- Comment #24 from David Cook <dcook at prosentient.com.au> ---
Created attachment 158690
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158690&action=edit
Bug 31199: Extend selenium timeout to account for Starman worker restart

Previously, we've had a max retry of 10. If a try takes 1 second, then
the 10 seconds it can take for a Starman worker to restart is enough to
cause a test to fail if both workers are restarting at the same time.

Test plan:
0. DO NOT apply the patch yet
1. Run prove -v ./t/db_dependent/selenium/patrons_search.t
2. When the output says "Subtest: filter by date of birth",
    run "koha-plack --reload kohadev" in a separate window
3. Note that the test fails
4. Run "reset_all"

5. Apply the patch

6. Run prove -v ./t/db_dependent/selenium/patrons_search.t
7. When the output says "Subtest: filter by date of birth",
    run "koha-plack --reload kohadev" in a separate window
8. Note that the test does not fail

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


More information about the Koha-bugs mailing list