backend: Allow TEST_DEAD_PORT to be set
commit6f103af69968237f1dbd33fac40975dd4db8c701
authorEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 03:52:11 +0000 (7 19:52 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 03:55:59 +0000 (7 19:55 -0800)
tree39f1733c608fee1a2e5bf732bb04e95e3bc411da
parent75115f3296d31e5e9f10645f216d3d7c1e9024d1
backend: Allow TEST_DEAD_PORT to be set

When running tests in parallel, releasing a listener when
killing the process that owns it can cause another test to grab
it.  Allow setting TEST_DEAD_PORT in env to avoid this race
condition.
test/setup.rb
test/test_backend.rb