httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Sat, 05 Jan 2002 21:46:51 GMT
Stas Bekman wrote:
> 
> How the other starting server is supposed to know whether port X is busy
> because the first server is still running or it didn't quit cleanly?

{sigh}  It doesn't.  But the user tries to run the tests, gets
a 'port in use' error, and runs again with '-port select'.  Now
there are two servers running -- and potentially *left* running.
He gets this a few times, and codes '-port select' into his
script.  Now they're propagating like rabbits because of a bug
in the harness.

> If you want to ensure that all the servers are always killed run,
> 
> % killall httpd

A wonderful alternative if the test suite is the ONLY server
running.  Not.  And the fact that you say that's how you kill them
might explain why they sometimes get left around -- it's a bug
you don't see.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Mime
View raw message