File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
spring-rabbit/src/test/java/org/springframework/amqp/rabbit/connection Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 17
17
package org .springframework .amqp .rabbit .connection ;
18
18
19
19
import static org .junit .Assert .assertEquals ;
20
+ import static org .junit .Assert .assertFalse ;
20
21
import static org .junit .Assert .assertNotNull ;
21
22
import static org .junit .Assert .assertNotSame ;
22
23
import static org .junit .Assert .assertNull ;
@@ -1709,11 +1710,11 @@ public void testOrderlyShutDown() throws Exception {
1709
1710
// ignore
1710
1711
}
1711
1712
});
1712
- assertThat (asyncClosingLatch .await (10 , TimeUnit .SECONDS )). isTrue ( );
1713
+ assertTrue (asyncClosingLatch .await (10 , TimeUnit .SECONDS ));
1713
1714
ccf .onApplicationEvent (new ContextClosedEvent (ac ));
1714
1715
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 ());
1717
1718
closeExec .shutdownNow ();
1718
1719
}
1719
1720
You can’t perform that action at this time.
0 commit comments