check if alive after SUBMIT_JOB
[MojoX-Gearman.git] / t / gearman.t
index 0e2676f..aa216da 100755 (executable)
@@ -2,7 +2,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 5;
+use Test::More tests => 6;
 use Data::Dump qw(dump);
 use lib 'lib';
 
@@ -16,3 +16,5 @@ cmp_ok $echo, 'eq', "foobar";
 ok( my $ping = $g->req( 7, 'ping', '', 'bla' ), 'SUBMIT_JOB' );
 diag dump $ping;
 
+ok( $g->req( 16, "alive" ), 'ECHO - still alive - still alive?' );
+