mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Start building against Spring AMQP 4.2.0-M2 snapshots
See gh-51711
This commit is contained in:
+2
-2
@@ -706,7 +706,7 @@ class RabbitAutoConfigurationTests {
|
||||
assertThat(adviceChain).isNotNull();
|
||||
assertThat(adviceChain).hasSize(1);
|
||||
Advice advice = adviceChain[0];
|
||||
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryOperations");
|
||||
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryTemplate");
|
||||
assertThat(retryTemplate).hasFieldOrPropertyWithValue("retryPolicy", retryPolicy);
|
||||
}
|
||||
|
||||
@@ -788,7 +788,7 @@ class RabbitAutoConfigurationTests {
|
||||
Exception cause = new Exception("test");
|
||||
invokeRecoverer(advice, new Object[] { "foo", message }, cause);
|
||||
then(messageRecoverer).should().recover(message, cause);
|
||||
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryOperations");
|
||||
RetryTemplate retryTemplate = (RetryTemplate) ReflectionTestUtils.getField(advice, "retryTemplate");
|
||||
assertThat(retryTemplate).isNotNull();
|
||||
RetryPolicy retryPolicy = (RetryPolicy) ReflectionTestUtils.getField(retryTemplate, "retryPolicy");
|
||||
assertThat(retryPolicy).isNotNull();
|
||||
|
||||
@@ -2599,7 +2599,7 @@ bom {
|
||||
]
|
||||
}
|
||||
}
|
||||
library("Spring AMQP", "4.2.0-M1") {
|
||||
library("Spring AMQP", "4.2.0-SNAPSHOT") {
|
||||
firstParty()
|
||||
group("org.springframework.amqp") {
|
||||
bom("spring-amqp-bom")
|
||||
|
||||
Reference in New Issue
Block a user