From bff4dc36c227c37186c72f16dd2e13ea506ac9f4 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 22 Dec 2016 11:01:36 -0500 Subject: [PATCH] Fix MongoDbICAdapterIntTests race condition Partial back port from https://github.com/spring-projects/spring-integration/commit/c0a507c36cbe072e72b8c460fa0c9e50e7737761 --- ...ChannelAdapterIntegrationTests-context.xml | 25 +++++++++++-------- ...InboundChannelAdapterIntegrationTests.java | 16 ++++++++++-- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/config/MongoDbInboundChannelAdapterIntegrationTests-context.xml b/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/config/MongoDbInboundChannelAdapterIntegrationTests-context.xml index 4ba01ccca2..ba5f08ea00 100644 --- a/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/config/MongoDbInboundChannelAdapterIntegrationTests-context.xml +++ b/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/config/MongoDbInboundChannelAdapterIntegrationTests-context.xml @@ -18,7 +18,7 @@ query="{'name' : 'Bob'}" entity-class="java.lang.Object" auto-startup="false"> - + - + - + - + - + - + - + - + @@ -97,16 +97,21 @@ - + + + + + + - +