X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fwatchdog.t;h=e6f036ba8f737c77a8e240bd52274da51157eccd;hb=fb258df60473013795325e4607b24239ca9db0fc;hp=8615f0e65f27d96d324d974a98f386f1359bf32c;hpb=09130cd025586aa10cb57c33d3ae899a7cc7e185;p=scpubgit%2FObject-Remote.git diff --git a/t/watchdog.t b/t/watchdog.t index 8615f0e..e6f036b 100644 --- a/t/watchdog.t +++ b/t/watchdog.t @@ -1,14 +1,14 @@ use strictures 1; use Test::More; -require 't/logsetup.pl'; +$ENV{OBJECT_REMOTE_TEST_LOGGER} = 1; use Object::Remote::Connection; use Object::Remote::FromData; $SIG{ALRM} = sub { fail("Watchdog killed remote process in time"); die "test failed" }; -my $conn = Object::Remote::Connection->conn_from_spec("-", watchdog_timeout => 1)->connect; +my $conn = Object::Remote->connect("-", watchdog_timeout => 1); my $remote = HangClass->new::on($conn);