]> git.koha-community.org Git - koha.git/commit
Bug 35044: (QA follow-up): Fix flaky tests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 26 Jul 2024 13:05:17 +0000 (13:05 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 23 Aug 2024 16:21:31 +0000 (18:21 +0200)
commitb5ed6e506231fcaa94de83c4fc22ff257b9b7118
treed6a3202d13c612d81d61a9ad038e849ff067cf7e
parent2d5a7d19a3aeca8c192bc9cdb78951a2afcbb615
Bug 35044: (QA follow-up): Fix flaky tests

To test, run the following test file a couple times until it fails:
prove t/db_dependent/Koha/Object/Mixin/AdditionalFields.t

My testing this failed around 50% of the time so it should not take
long to reproduce. I believe this is because the order of the array
elements may differ.

Apply this patch and run the test file again many times. It should
never fail.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Object/Mixin/AdditionalFields.pm