Skip to content

Commit

Permalink
ES_TRACE=1 when running fakecpan.t, now dumps logs to es.log for easi…
Browse files Browse the repository at this point in the history
…er debugging
  • Loading branch information
clintongormley committed Apr 18, 2015
1 parent e5989a3 commit 5d6b3ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion t/fakecpan.t
Expand Up @@ -59,7 +59,7 @@ BEGIN { $ENV{EMAIL_SENDER_TRANSPORT} = 'Test' }
ok(
my $es = Search::Elasticsearch->new(
nodes => $ES_HOST,
( $ENV{ES_TRACE} ? ( trace_to => 'Stderr' ) : () )
( $ENV{ES_TRACE} ? ( trace_to => [ 'File', 'es.log' ] ) : () )
),
'got ElasticSearch object'
);
Expand Down
2 changes: 0 additions & 2 deletions t/server/controller/search/download_url.t
Expand Up @@ -7,8 +7,6 @@ use MetaCPAN::TestHelpers;
use Test::More skip_all =>
"Need to add CPAN::Test::Dummy::Perl5::VersionBump to CPAN::Faker and write tests";

use Log::Any::Adapter ( 'File', 'out' );

test_psgi app, sub {
my $cb = shift;

Expand Down

0 comments on commit 5d6b3ac

Please sign in to comment.