Skip to content

Commit 22014b8

Browse files
committed
Fixed failing test due to checking for wrong value
1 parent 24ac436 commit 22014b8

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Changes

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ Revision history for Gearman-Mesh
1111
Removed client retry.
1212
Improved long running worker test.
1313
Automatically start gearman daemon in tests.
14+
0.05 2019-04-01
15+
Fixed failing tests.

lib/Gearman/Mesh/Client.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ Gearman::Mesh::Client - A wrapper around Gearman::XS::Client
8383
8484
=head1 VERSION
8585
86-
Version 0.04
86+
Version 0.05
8787
8888
=cut
8989

90-
our $VERSION = '0.04';
90+
our $VERSION = '0.05';
9191

9292

9393
=head1 SYNOPSIS

lib/Gearman/Mesh/Worker.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ Gearman::Mesh::Worker - A wrapper around Gearman::XS::Worker
4141
4242
=head1 VERSION
4343
44-
Version 0.04
44+
Version 0.05
4545
4646
=cut
4747

48-
our $VERSION = '0.04';
48+
our $VERSION = '0.05';
4949

5050
=head1 SYNOPSIS
5151

t/worker.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ is( $worker->add_server('127.0.0.1', 4730),
7878
$worker->remove_servers;
7979

8080
is( $worker->work(),
81-
GEARMAN_NO_REGISTERED_FUNCTIONS,
81+
GEARMAN_COMMAND_WORK_COMPLETE,
8282
'work() method returns expected value'
8383
);
8484

8585
my ($ret, $job) = $worker->grab_job();
8686

8787
is( $ret,
88-
GEARMAN_NO_REGISTERED_FUNCTIONS,
88+
GEARMAN_COMMAND_WORK_COMPLETE,
8989
'grab_job() method returns expected value...'
9090
);
9191

0 commit comments

Comments
 (0)