bbyars/mountebank — pull request #42 by moodmosaic (2014-05-15 06:44:50+00:00)
Title: Made the dryRunValidator model more maintainable

While working on #14, I came across some test-specific code in *dryRunValidator.js* model.

These lines of code, AFAICT, are there to avoid potential timeouts in *httpStubTest.js* – which has a default timeout of 2 seconds.

>The tests in *httpStubTest.js* require ~2.5 seconds due to the (http and https) exercises of the Wait behavior with 1 second delay each.

The proposed changes in this Pull Request remove the test-specific code by increasing the timeout by 1 second.