davisp opened a new pull request #2381: Speedup test suite URL: https://github.com/apache/couchdb/pull/2381 ## Overview This is some work to speed up the test suites to try and reduce our build times. The work on the JavaScript tests is to avoid a hardcoded 1.2s delay between tests for the various config changes to settles. For most of the eunit tests all of these changes are to move the `meck:new/1` calls into a setup function and *out* of the `foreach` setup fixture. It turns out that creating and unloading meck modules is somewhat expensive. This ends up saving about a total of 2m out of the total 10m it takes to run before this PR (eunit alone to be clear). All in all this shaves about 3-4m off the full `make check` run on my laptop. I've left all of the EUnit test changes as separate commits in case any of these turn out to be flaky when run in CI. This way we can revert individual test changes more easily if need be. ## Testing recommendations `make check` ## Checklist - [x] Code is written and works correctly - [x] Changes are covered by tests - [x] Any new configurable parameters are documented in `rel/overlay/etc/default.ini` - [ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
