Skip Menu |

This queue is for tickets about the Sietima CPAN distribution.

Report information
The Basics
Id: 129325
Status: resolved
Priority: 0/
Queue: Sietima

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: TINITA [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0.3
Fixed in: 1.0.5



CC: TINITA [...] cpan.org
Subject: Test suite started to fail (with latest App::Spec?)
The test suite started to fail on my smokers: ... # Failed test 'calling list_mails_in_moderation_queue should live' # at t/lib/Test/Sietima.pm line 177. # Failed test 'from non-subscriber' # at t/tests/sietima/role/subscriberonly/moderate.t line 116. # Caught exception in subtest: (Die On Fail) at t/lib/Test/Sietima.pm line 177. (Die On Fail) at t/tests/sietima/role/subscriberonly/moderate.t line 116. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 after test #2. # Seeded srand with seed '20190426' from local date. t/tests/sietima/role/subscriberonly/moderate.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/2 subtests ... Statistical analysis suggests that this happens with the newer App::Spec: **************************************************************** Regression 'mod:App::Spec' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 102824910009491872.00 [1='eq_0.005'] -1.0000 0.0000 -61694946005695112.00 R^2= 1.000, N= 75, K= 2 ****************************************************************
Yes, I can reproduce. There are two things to fix. I fixed one of them in App::Spec, I was using a wrong default: https://github.com/perlpunk/App-Spec-p5/commit/999922dcf2a3c687886912270ad87991a2686976 The other one needs to be fixed in Sietima. App::Spec::Response is now unbuffered by default. In t/lib/Test/Sietima.pm sub run_cmdline_sub: $r->response(App::Spec::Run::Response->new(buffered => 1)); Hope that helps!
Just uploaded App::Spec 0.005_001
Thank you both for the report and the diagnosis! I've just pushed 1.0.4 to PAUSE