hi this is mainly for BinGOs as the reports came from his box, but maybe someone
here on the list can also give me a hand.

I have some issues with a bunch of smoke reports:
For example these two:

http://www.cpantesters.org/cpan/report/9e50c40c-b1a9-11e3-add5-ed1d4a243164

http://www.cpantesters.org/cpan/report/ef9c4b9e-b175-11e3-ae04-8631d666d1b8

In the test I have a fork that launches a web server and then the main
process tries to connect to it using Mechanize. The test fails because
the main process cannot connect to the web server.

In the 0.31 version of the module I tried to recognize if the forked
process has failed and stopped running to avoid failures when the box
limits the network address but obviously my solution isn't working
well. (I used waitpid for that:
https://metacpan.org/source/SZABGAB/Dwimmer-0.31/t/lib/Dwimmer/Test.pm#L65 )

I tried the code using low ports where the regular user cannot open
the server and the tests
were skipped as I hoped. Yet on the test box the tests blow up.

It seems the server is launched but the client still cannot connect.
Or something completely different :)

So how should this test be written so they will be skipped when the
box owner does not want ports opened on the machine?

Gabor

Reply via email to