migue/liferay-portal — pull request #50 by epgarcia (2012-07-09 10:46:47+00:00)
Title: Remove destroy from MainServletETL to prevent errors in other tests

Test performed:

- With current trunk version, run all integration tests: MainServlet.destroy method is executed at MainServletExecutionTestListener (e.g. when running WebServerTrashTest) causing some of the test comming next to fail.

- Removing destroy from MainServletETL, and running all integration tests: the previous impact on the tests comming after it dissapear.

- Removing destroy from MainServletETL, adding an extra Test using MainServletETL and running all integration tests: this works too, proving that a previous initialization of MainServlet has no impact even if destroy is not executed at end.