Skip to content

Commit df90345

Browse files
committed
Remove unused variable in test
1 parent ac98999 commit df90345

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection/PublisherCallbackChannelTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)