Skip to content

Commit bf097ca

Browse files
committed
Revert AssertJ in CachingConnectionFactoryTests
https://build.spring.io/browse/AMQP-AMQP21X-25/
1 parent 18b61fd commit bf097ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package org.springframework.amqp.rabbit.connection;
1818

1919
import static org.junit.Assert.assertEquals;
20+
import static org.junit.Assert.assertFalse;
2021
import static org.junit.Assert.assertNotNull;
2122
import static org.junit.Assert.assertNotSame;
2223
import static org.junit.Assert.assertNull;
@@ -1709,11 +1710,11 @@ public void testOrderlyShutDown() throws Exception {
17091710
// ignore
17101711
}
17111712
});
1712-
assertThat(asyncClosingLatch.await(10, TimeUnit.SECONDS)).isTrue();
1713+
assertTrue(asyncClosingLatch.await(10, TimeUnit.SECONDS));
17131714
ccf.onApplicationEvent(new ContextClosedEvent(ac));
17141715
ccf.destroy();
1715-
assertThat(closeLatch.await(10, TimeUnit.SECONDS)).isTrue();
1716-
assertThat(rejected.get()).isFalse();
1716+
assertTrue(closeLatch.await(10, TimeUnit.SECONDS));
1717+
assertFalse(rejected.get());
17171718
closeExec.shutdownNow();
17181719
}
17191720

0 commit comments

Comments
 (0)