test: add cluster 'bind twice' test
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 9 Feb 2012 05:22:50 +0000 (06:22 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 17 Jan 2013 12:37:23 +0000 (13:37 +0100)
commit08ac9fe016e333a344469aa7e8a1fb483ae27c58
treeb1c5b4a73c74cbde4c60c5d8029d718fa072aac9
parent498200b87c186658c867772bd6cf0c8afcb2b56b
test: add cluster 'bind twice' test

This test starts two clustered HTTP servers on the same port.
It expects the first cluster to succeed and the second cluster
to fail with EADDRINUSE.

Reapplies commit cacd3ae, accidentally reverted in a2851b6.
test/simple/test-cluster-bind-twice.js [new file with mode: 0644]