[Koha-bugs] [Bug 19463] TestBuilder.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 17 16:31:57 CEST 2017


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 68217
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68217&action=edit
Bug 19463: Reduce the chance to have TestBuilder generate twice the same value

When an id is generated by TestBuilder (branchcode for instance) and the
size of the generated string is 1, we have too many chances to get
"Violation of unique constraint in Branch".

This patch will enforce the size of the string to be > 1 and the number
of tries to get a different strings will be 5 (instead of 3).

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


More information about the Koha-bugs mailing list