[Koha-bugs] [Bug 14256] Tests for TestBuilder fail randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 3 22:26:46 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14256

--- Comment #15 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 39825
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39825
Bug 14256: (followup) check for unique constrainta to regenerate random data

Review of attachment 39825:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14256&attachment=39825)
-----------------------------------------------------------------

::: t/lib/TestBuilder.pm
@@ +192,5 @@
> +                }
> +
> +                my $count = $self->schema
> +                                 ->resultset( $source )
> +                                 ->search( $condition )

Making the changes suggested in comment #1 sometimes triggers a KABOOM here,
because condition is not right somehow. I think something goes wrong with the
building loop above. { ARRAY => undef }?!

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


More information about the Koha-bugs mailing list