On heavily loaded systems any test server start up can take longer than the
authorYang Tse <yangsita@gmail.com>
Tue, 12 Feb 2008 13:47:56 +0000 (13:47 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 12 Feb 2008 13:47:56 +0000 (13:47 +0000)
commit6634e3c3a31a4160c70cf72811644f11266fd57f
tree0a2d0e07dc1ee3f76bbb390775a00c484f9d8079
parent533ae704a110d85bd5f603274b395779ec11f001
On heavily loaded systems any test server start up can take longer than the
timeout passed to startnew, when this happens startnew completes without being
able to read the pidfile and consequently returns a zero pid2.

To fix the above posibility the server pid is recovered from the verification
stage which will actually return the server pid when verification is valid.
tests/runtests.pl