INT-3783: Make JPA module compatible with IO
JIRA: https://jira.spring.io/browse/INT-3783 * Since IO doesn't have `hibernate-jpa-2.1-api` dependency and we need it only for testing, hence move it to the `testRuntime`. * Revert `org.eclipse.persistence:javax.persistence` and make it as `optional`, since it is end-user responsibility to choose JPA implementation. * Resolve deprecations since the latest Spring Framework changes. * Increase `FeedInboundChannelAdapterParserTests` timeouts: https://build.spring.io/browse/INT-B41-353
This commit is contained in:
committed by
Gary Russell
parent
d6aa9f8334
commit
a98c45f2d7
@@ -108,7 +108,7 @@ public class FeedInboundChannelAdapterParserTests {
|
||||
latch = spy(new CountDownLatch(3));
|
||||
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
|
||||
"FeedInboundChannelAdapterParserTests-file-usage-context.xml", this.getClass());
|
||||
latch.await(5, TimeUnit.SECONDS);
|
||||
latch.await(10, TimeUnit.SECONDS);
|
||||
verify(latch, times(3)).countDown();
|
||||
context.destroy();
|
||||
|
||||
@@ -135,7 +135,7 @@ public class FeedInboundChannelAdapterParserTests {
|
||||
"FeedInboundChannelAdapterParserTests-http-context.xml", this.getClass());
|
||||
DirectChannel feedChannel = context.getBean("feedChannel", DirectChannel.class);
|
||||
feedChannel.subscribe(handler);
|
||||
latch.await(5, TimeUnit.SECONDS);
|
||||
latch.await(10, TimeUnit.SECONDS);
|
||||
verify(handler, atLeast(3)).handleMessage(Mockito.any(Message.class));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user