[Koha-bugs] [Bug 33054] Koha/Acquisition/Order.t is failing randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 20:32:57 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33054
--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 147396
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147396&action=edit
Bug 33054: Fix unit tests
This patch fixes the tests by making sure:
- The branch in userenv matches the home/holding branch so there are no
circ rules getting in the middle
- Gives the user superlibrarian permissions for the same reasons above.
To test:
1. Run:
$ ktd --shell
k$ for i in $(seq 1 20 ); do prove t/db_dependent/Koha/Acquisition/Order.t ;
done
=> FAIL: Notice it fails quite often. You can ctrl+c to interrupt once
it has failed at least once.
2. Apply this patch
3. Repeat 1
=> SUCCESS: it doesn't fail a single time
4. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list