INT-4245: Improve ReplyProducingMHWrapper
JIRA: https://jira.spring.io/browse/INT-4245 * Move `ReplyProducingMessageHandlerWrapper` outside of `ServiceActivatorAnnotationPostProcessor`. * Use it from the `ServiceActivatorFactoryBean` as well to fix the missed `Lifecycle` control * Increase wait timeout in the `ConnectionFactoryTests` * Mark endpoint as `auto-startup="false"` in the SFTP parser tests * Remove redundant `org.gradle.daemon=true` from the `gradle.properties` since it is like that by default for a while already
This commit is contained in:
committed by
Gary Russell
parent
95d2cc2352
commit
ea6cf0f4ef
@@ -150,7 +150,7 @@ public class ConnectionFactoryTests extends LogAdjustingTestSupport {
|
||||
List<String> clients = clientFactory.getOpenConnectionIds();
|
||||
assertEquals(1, clients.size());
|
||||
assertTrue(clients.contains(client.getConnectionId()));
|
||||
assertTrue("Server connection failed to register", serverConnectionInitLatch.await(1, TimeUnit.SECONDS));
|
||||
assertTrue("Server connection failed to register", serverConnectionInitLatch.await(10, TimeUnit.SECONDS));
|
||||
List<String> servers = serverFactory.getOpenConnectionIds();
|
||||
assertEquals(1, servers.size());
|
||||
assertTrue(serverFactory.closeConnection(servers.get(0)));
|
||||
|
||||
Reference in New Issue
Block a user