Revert "bug6102: dropping test DB in ClearStateServlet"

This reverts commit 279da4a8d9.
This commit is contained in:
Axel Uhl
2025-03-14 22:48:20 +01:00
parent 9791a8a6c4
commit 52d9b8ec0a
@@ -54,7 +54,6 @@ public class ClearStateServlet extends HttpServlet {
for (ClearStateTestSupport service : services) {
service.clearState();
}
configuration.getService().getMongoClient().getDatabase(TEST_DB_NAME).drop();
response.setStatus(HttpServletResponse.SC_NO_CONTENT);
} catch (Exception exception) {
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Error trying to clear state. See erver log for details.");