X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fwatchdog_fatnode.t;h=2b73ce65fa837c6a75f088188722cf577a399ea7;hb=2d7fe21c807adcd610a00da274e096dcbbb3bbc2;hp=81e8c969061aada901699d0522df9e60a8e1fb87;hpb=f129bfaf05b1ae0e2e2992cad47a70482dec9885;p=scpubgit%2FObject-Remote.git diff --git a/t/watchdog_fatnode.t b/t/watchdog_fatnode.t index 81e8c96..2b73ce6 100644 --- a/t/watchdog_fatnode.t +++ b/t/watchdog_fatnode.t @@ -1,7 +1,7 @@ use strictures 1; use Test::More; -require 't/logsetup.pl'; +$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1; use Object::Remote::Connector::Local; @@ -9,7 +9,7 @@ $SIG{ALRM} = sub { die "alarm signal\n" }; open(my $nullfh, '>', '/dev/null') or die "Could not open /dev/null: $!"; -my $fatnode_text = Object::Remote::Connector::Local->new(watchdog_timeout => 1)->fatnode_text; +my $fatnode_text = Object::Remote::Connector::Local->new(timeout => 1)->fatnode_text; #this simulates a node that has hung before it reaches #the watchdog initialization - it's an edge case that