Subject: | POE-1.310 breaks this module |
Hello,
As reported in RT#67680 to POE, I could verify that something is amiss
when running the testsuite against POE-1.310.
Notice that I had to ctrl+C the t/20_preforking.t test as it hung, and
there was no cpu activity...
I suspect it's because the internals changed - I'll try to come up
with a fix if possible, but I'm not a user of this module so I got a bit
of learning to do :( Please let me know if there's anything I can do to
help :)
apoc@blackhole:~/.cpanplus/5.10.0/build/POE-Component-Daemon-0.1203#
prove -bv t/*
t/00_syntax.t ......
1..2
ok 1 - use POE::Component::Daemon;
ok 2 - use POE::Component::Daemon::Scoreboard;
ok
t/10_scoreboard.t ..
1..45
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok
t/11_daemon.t ......
1..14
ok 1 - use POE::Component::Daemon;
ok 2 - min_spare = start_children
ok 3 - max_spare = 2*start_children
ok 4 - max_children = start_children +max_spare
ok 5 - Set an alias
ok 6 - min_spare is set
ok 7 - max_spare is set
ok 8 - max_spare is more then min_spare
ok 9 - Set an alias
ok 10 - Pre-forking server
ok 11 - Not a forking server
ok 12 - Didn't detach, even when asked twice
ok 13 - Not a pre-forking server
ok 14 - Is a forking server
ok
t/20_preforking.t ..
1..16
ok 1 - loaded
# port=38017
^C
apoc@blackhole:~/.cpanplus/5.10.0/build/POE-Component-Daemon-0.1203#
prove -bv t/30_forking.t
t/30_forking.t ..
1..14
ok 1 - loaded
# port=35108
ok 2 - Got confused answer
ok 3 - PING-PONG
ok 4 - Got PID
ok 5 - Got the same PID
not ok 6 - Got kernel ID from first server
# Failed test 'Got kernel ID from first server'
# at t/30_forking.t line 49.
ok 7 - PING-PONG
ok 8 - Different PID
not ok 9 - Got kernel ID from second server
# Failed test 'Got kernel ID from second server'
# at t/30_forking.t line 70.
not ok 10 - Different Kernel IDs
# Failed test 'Different Kernel IDs'
# at t/30_forking.t line 72.
# got: ''
# expected: anything else
ok 11 - Created a logfile
ok 12 - All different PIDs
# sleep 3
ok 13 - Max 3 children
# sleep 3
ok 14 - Max 3 children
# Parent is 8525
# Looks like you failed 3 tests of 14.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/14 subtests
Test Summary Report
-------------------
t/30_forking.t (Wstat: 768 Tests: 14 Failed: 3)
Failed tests: 6, 9-10
Non-zero exit status: 3
Files=1, Tests=14, 7 wallclock secs ( 0.05 usr 0.00 sys + 0.07 cusr
0.03 csys = 0.15 CPU)
Result: FAIL
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
--
~Apocalypse