File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -319,12 +319,12 @@ protected synchronized void redeclareElementsIfNecessary() {
319
319
container .afterPropertiesSet ();
320
320
container .start ();
321
321
ChannelHolder channelHolder = container .getChannelHolder ();
322
- assertThat (latch .await (10 , TimeUnit .SECONDS )). isTrue ( );
322
+ assertTrue (latch .await (10 , TimeUnit .SECONDS ));
323
323
container .releaseConsumerFor (channelHolder , true , "test" );
324
324
container .stop ();
325
- assertThat (connectionMakerKey .get ()). isEqualTo ("xxx[amq.rabbitmq.reply-to]" );
326
- assertThat (connectionMakerKey2 .get ()). isEqualTo ("xxx[amq.rabbitmq.reply-to]" );
327
- assertThat (SimpleResourceHolder .unbind (connectionFactory )). isEqualTo ("foo" );
325
+ assertThat (connectionMakerKey .get (), equalTo ("xxx[amq.rabbitmq.reply-to]" ) );
326
+ assertThat (connectionMakerKey2 .get (), equalTo ("xxx[amq.rabbitmq.reply-to]" ) );
327
+ assertThat (SimpleResourceHolder .unbind (connectionFactory ), equalTo ("foo" ) );
328
328
}
329
329
330
330
}
You can’t perform that action at this time.
0 commit comments