From: Peter Rabbitson Date: Sun, 19 Jun 2016 05:48:27 +0000 (+0200) Subject: Ensure describe_environment does not break its output in half X-Git-Tag: v0.082840~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2da3dc67825f592477470bf406658ba47ec20fe;p=dbsrgits%2FDBIx-Class.git Ensure describe_environment does not break its output in half ( cherry-pick of 02154caf0 ) --- diff --git a/t/00describe_environment.t b/t/00describe_environment.t index dd17859..b020ca1 100644 --- a/t/00describe_environment.t +++ b/t/00describe_environment.t @@ -504,6 +504,11 @@ $final_out .= "=============================\n$discl\n\n"; diag $final_out; +# *very* large printouts may not finish flushing before the test exits +# injecting a ... ok in the middle of the diag +# http://www.cpantesters.org/cpan/report/fbdac74c-35ca-11e6-ab41-c893a58a4b8c +select( undef, undef, undef, 0.2 ); + exit 0;