Skip to content

Commit e07e87f

Browse files
committed
Remove channelMessages collection from MongoDB
1 parent a675f46 commit e07e87f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/rules/MongoDbAvailableTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ protected MongoDbFactory prepareMongoFactory(String... additionalCollectionsToDr
5050
protected void cleanupCollections(MongoDbFactory mongoDbFactory, String... additionalCollectionsToDrop) {
5151
MongoTemplate template = new MongoTemplate(mongoDbFactory);
5252
template.dropCollection("messages");
53+
template.dropCollection("channelMessages");
5354
template.dropCollection("configurableStoreMessages");
5455
template.dropCollection("data");
5556
for (String additionalCollection : additionalCollectionsToDrop) {

0 commit comments

Comments
 (0)