File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -138,15 +138,13 @@ void testNotCached() throws Exception {
138138 Channel chan2 = conn .createChannel (false );
139139 chan1 .close ();
140140 chan2 .close ();
141- Properties cacheProperties = cf .getCacheProperties ();
142141 await ().until (() -> {
143142 Properties props = cf .getCacheProperties ();
144143 return Integer .parseInt (props .getProperty ("idleChannelsNotTx" )) == 2 ;
145144 });
146145 closeLatch .countDown ();
147146 assertThat (confirmLatch .await (10 , TimeUnit .SECONDS )).isTrue ();
148147 assertThat (closedLatch .await (10 , TimeUnit .SECONDS )).isTrue ();
149- cacheProperties = cf .getCacheProperties ();
150148 await ().until (() -> {
151149 Properties props = cf .getCacheProperties ();
152150 return Integer .parseInt (props .getProperty ("idleChannelsNotTx" )) == 2 ;
You can’t perform that action at this time.
0 commit comments