Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
p-alik committed Dec 22, 2017
1 parent a8636ee commit e063807
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/02-client.t
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ subtest "new_task_set", sub {
};

subtest "js socket", sub {
my $gts = t::Server->new();
my $gts = t::Server->new();
my @job_servers = $gts->job_servers();
@job_servers || plan skip_all => $t::Server::ERROR;

Expand All @@ -70,12 +70,11 @@ subtest "js socket", sub {
};

subtest 'Client: "on_fail" handler is triggered on timeout' => sub {
my ($now, $then) = (time);

my $gts = t::Server->new();
my @job_servers = $gts->job_servers();
@job_servers || plan skip_all => $t::Server::ERROR;

my ($now, $then) = (time);
my $c = new_ok($mn, [job_servers => [@job_servers]]);
my $timeout = 2;
my $initial_error = '"on_fail" was NOT triggered';
Expand Down

0 comments on commit e063807

Please sign in to comment.