[
https://issues.jboss.org/browse/ISPN-3135?page=com.atlassian.jira.plugin....
]
Work on ISPN-3135 started by Guillaume Scheibel.
Cleanup mongodb databases created by tests
------------------------------------------
Key: ISPN-3135
URL:
https://issues.jboss.org/browse/ISPN-3135
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Affects Versions: 5.3.0.Beta2, 5.3.0.CR1
Reporter: Mircea Markus
Assignee: Guillaume Scheibel
ATM the MongoDB caches Store creates a database for each run instance, database name
being an UUID in order to make sure that multiple tests connecting to the same mongo
instance don't collide.
This database is not deleted on shutdown causing the disk to get full quickly.
It should be deleted and looking at the Mongodb java API the way to do it seems to be
this:
http://api.mongodb.org/java/2.10.1/com/mongodb/Mongo.html#dropDatabase(ja...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira