[Koha-bugs] [Bug 18979] Speed up 'valid-templates.t' tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 15 13:07:02 CET 2017


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

--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Mason James from comment #10)
> a little update here...
> it turns out that the 'use threads' line was needed for patch to succeed,
> after all
> 
> the 'use threads' line seems to handle a known bug where Test::Simple
> generates the TAP tests out of order, and causes the tests to fail
> 
> 
> the good news is that there are some options...
> 
> 1/ use the Test2::Suite module, which handles parallel tests well...
>    https://metacpan.org/pod/Test2::Suite
> 
>    the only catch here is that it's new-ish, so we'll need to backport the
> module to deb8/jessie too
> 
> 2/ just allow the 'use threads' line. 
> 	Because no threads are ever actually created, it should be pretty safe
>    
> 
> fyi: i did try using forks.pm too, but sadly got lots of random fails

Mason,
Which option has your preference ?

Marcel

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


More information about the Koha-bugs mailing list