mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
Revert "bug6102: dropping test DB in ClearStateServlet"
This reverts commit 279da4a8d9.
This commit is contained in:
-1
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user