P is for Practical | |
PerlMonks |
Failing tests of Test::TCP on Windowsby bojinlund (Monsignor) |
on Mar 05, 2013 at 08:06 UTC ( [id://1021771]=perlquestion: print w/replies, xml ) | Need Help?? |
bojinlund has asked for the wisdom of the Perl Monks concerning the following question:
Hej!
The reason for this post is the message in https://rt.cpan.org/Public/Bug/Display.html?id=67292#txn-1187167. There is a summary of the failing tests on Windows below. (There are very few fails on other operating systems.) Hopefully we can help the maintainer of the module with the remaining problems in Windows! Background"Bug #66016 for Test-TCP: Tests fail on Windows (even when they pass?)" https://rt.cpan.org/Public/Bug/Display.html?id=66016. "Bug #66437 for Test-TCP: Tests are blocking in Windows 7" https://rt.cpan.org/Public/Bug/Display.html?id=66437.
"Bug #67292 for Test-TCP: Tests are blocking in Windows 7. With a prposed patch."
https://rt.cpan.org/Public/Bug/Display.html?id=67292.
The purpose of the (proposed and used) patch is to:
Summary of the failing test of Test::TCPThe pattern used is: Test files: List of failing SUBtests. The digit in parentheses indicates the number of times the subtest has failed for version 1.13 - 1.18 of Test::TCP on mswin32 (data from http://matrix.cpantesters.org/?dist=Test%3A%3ATCP). In "mswin32" and Test::TCP version 1.13 there are 0 fail/29 pass tests. Version 1.14 => 1/8, 1.15 => 3/13, 1.16 => 6/10, 1.17 => 0/19 and 1.18 => 5/53. For version 1.13 - 1.18 there are 15 failing tests and 124 passing. Test report pattern: Pattern in the test report. 1) Test returned 9 even if all subtests passedTest files: t/03_return_when_sigterm.t, t/04_die.t, t/06_nest.t(2), t/09_fork.t Test report pattern:
This problem is treated in https://rt.cpan.org/Public/Bug/Display.html?id=66016. The conclusion is that there is a probability that Windows returns 9 instead of the correct zero. One failing subtest in about 140 test runs is a little bit to high!? 2) Child process does not blockTest files: t/04_die.t(4), t/06_nest.t(4) Test report pattern:
TCP.pm (line 121 marked with comment):
3) Target machine actively refusedTest files: t/01_simple.t(2), t/10_oo.t(8) Test report pattern:
Test-TCP-1.16/t/10_oo.t line 21:
4) Cannot open client socketTest files: t/09_fork.t(4) Test report pattern:
Test-TCP-1.16/t/09_fork.t line 28:
Questions
Regards Bo Johansson
Back to
Seekers of Perl Wisdom
|
|