X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftimeout.t;h=46b46fe75561751842c15a490ac6ff8bfb8f95d3;hb=bc06e92182c47337510900a0077079176200bfc0;hp=c205b9394be09d663f01bd6f42b8974eeb0f5936;hpb=f129bfaf05b1ae0e2e2992cad47a70482dec9885;p=scpubgit%2FObject-Remote.git diff --git a/t/timeout.t b/t/timeout.t index c205b93..46b46fe 100644 --- a/t/timeout.t +++ b/t/timeout.t @@ -1,13 +1,13 @@ use strictures 1; use Test::More; -require 't/logsetup.pl'; +$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1; use Object::Remote; use Object::Remote::Connector::Local; my $connector = Object::Remote::Connector::Local->new( - timeout => { after => 0.1 }, + timeout => 0.1, perl_command => [ 'perl', '-e', 'sleep 3' ], );