r29082@alice-3: perigrin | 2007-09-18 17:16:15 -0500
update to reflect moose's pending init_meta changes
r29094@alice-3: perigrin | 2007-09-19 05:26:38 -0500
check in changes from 0.02
r29095@alice-3: perigrin | 2007-09-19 05:27:02 -0500
tag 0.02
}
else {
sleep(1); # Punt on sleep time, 1 seconds should be enough
- $Test->ok( -e $daemon->pidfile, $msg )
+ $Test->ok( -e $daemon->pidfile->file, $msg )
|| $Test->diag( 'Pidfile (' . $daemon->pidfile->file . ') not found.' );
}
}
sub output_ok {
my ($self) = @_;
my $count = 1;
- while (1) {
+ for ( 0 .. 3 ) {
$Test->ok( $count++, "$count output_ok" );
sleep(1);
}
-
}
no Moose;
}
test_output => join( '/', $cwd, 'results' ),
);
daemonize_ok( $app, 'child forked okay' );
-sleep(5); # give ourself a chance to produce some output
+sleep(3); # give ourself a chance to produce some output
$app->stop( no_exit => 1 );
check_test_output($app);
unlink( $app->test_output );
+exit;