hibri / HttpMock

A library for creating Http servers on the fly in tests and stubbing responses
MIT License
128 stars 44 forks source link

HttpServerTests: don't use a certain port to test, but find an available one #11

Closed knocte closed 11 years ago

knocte commented 11 years ago

This is because that port may be in use by something else in the host where the tests run (internally in 7d this was failing in buildagent009 but not in buildagent001!).