Remove unnecessary web server restarts in functional test cases
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Reduced execution time of functional tests by removing unnecessary web server restarts.
There are numerous calls to
FunctionalTestEnvironment.restart that seem to be unnecessary. I'm not sure why they were needed, but the issue may have been fixed with .
The proposed changes reduce the execution time on my machine from 170-180 seconds to < 150 seconds.
Proposed changes in log:rjollos.git:t11443. Tested on Ubuntu 13.04. Please test execution on additional platforms if you can.
For reference the result of test execution on 1.0-stable at r12430 is:
$ PYTHONPATH=. python -m trac.test Ran 1647 tests in 270.404s