X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=t%2Fwatchdog.t;h=e6f036ba8f737c77a8e240bd52274da51157eccd;hp=ca001707dad4c933d709f6950726710a19dc440b;hb=7108761014aa075f45d64a59afe0c2d0ba856f63;hpb=1c0c66a20d5841376ee26a026f5d6593b8fe6f0d diff --git a/t/watchdog.t b/t/watchdog.t index ca00170..e6f036b 100644 --- a/t/watchdog.t +++ b/t/watchdog.t @@ -8,7 +8,7 @@ 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);