We are seeing some random failures in which the calculated AV values are not correct. It all points to cache: https://jenkins.koha-community.org/job/Koha_Master/lastCompletedBuild/console
Created attachment 148132 [details] [review] Bug 33214: Make tests use random data and clear the cache This trivial patch removes some wrongly hardcoded bits, and makes the tests also clear the cache before and after being run. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 148134 [details] [review] Bug 33214: Make tests use random data and clear the cache This trivial patch removes some wrongly hardcoded bits, and makes the tests also clear the cache before and after being run. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 22.11. Nice work everyone, thanks!
Created attachment 148143 [details] [review] Bug 33214: (follow-up) Consistency on key names This patch makes GetAuthorisedValueDesc used cache keys match what we discussed on the bug, which seems to have been lost on some rebase and highlighted by failing tests. I also add some more cache flushes. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 148144 [details] [review] Bug 33214: (follow-up) Make tests less fragile Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(In reply to Tomás Cohen Arazi from comment #3) > Pushed to master for 22.11. Oops, outdated config on the laptop!
Thanks for working through these Tomas, great spot on the rebase issue.. weird, that somehow crept in.
Nice work everyone! Pushed to stable for 22.11.x