On Tue Jul 12 07:52:49 2016, PLICEASE wrote:
Show quoted text> crux% prove -lv t/10-all.t
> t/10-all.t .. Unknown option: v
>
> I am not sure where the option "v" is, or where it is being used. It
> appears to hang indefinitely on my os x laptop, which has the pure
> perl German::Server installed (with gearmand in the path).
Interesting I just upgraded to the latest Gearman::Server, which makes progress, but still hangs:
crux% prove -lv t/10-all.t
t/10-all.t ..
ok 1 - An object of class 'Gearman::Client' isa 'Gearman::Client'
/Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143.
/Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143.
# Subtest: taskset 1
ok 1 - do_task does not accept arrayref argument
ok 2 - do_task returned 8 for sum
ok 3 - An object of class 'Gearman::Taskset' isa 'Gearman::Taskset'
ok 4 - add_task/wait returned 8 for sum
ok 5 - on_fail not called on a successful result
1..5
ok 2 - taskset 1
# Subtest: taskset 2
ok 1 - First task completed (sum is 2)
ok 2 - Second task completed (sum is 4)
1..2
ok 3 - taskset 2
# Subtest: failures
ok 1 - Job that failed naturally returned undef
Job 'fail_die' died: test reason at /Users/ollisg/dev/Gearman/t/worker.pl line 32.
ok 2 - the die message is available in the on_fail sub
1..2
ok 4 - failures
# Subtest: worker process exits
ok 1 - Job that failed via exit returned undef
/Users/ollisg/dev/Gearman/t/worker.pl at /Users/ollisg/dev/Gearman/t/lib/Test/Gearman.pm line 143.
1..1
ok 5 - worker process exits
# Subtest: timeout
ok 1 - Job that timed out after 3 seconds returns failure
1..1
ok 6 - timeout
# Subtest: sleeping