cancel
Showing results for 
Search instead for 
Did you mean: 

Data stored in external databases persist to finish tests

crico
Champ in-the-making
Champ in-the-making
When the unit tests end, all database entries are deleted (as indicated by documentation) but our external database records aren't deleted (our service tasks save info on external database). Is it also possible to remove these test records?
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Sure, but you'll have to write the code for that yourself. You can take a look at how the Activiti tables are removed.

Best regards,

crico
Champ in-the-making
Champ in-the-making
Seems that the problem was that I needed to add the cglib library to the project.

Thanks.