localsudo connector was missing "use" for Object::Remote::Logging
[scpubgit/Object-Remote.git] / t / watchdog_fatnode.t
index 81e8c96..2b73ce6 100644 (file)
@@ -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