File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reactor-netty-core/src/test/java/reactor/netty/channel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333import io .netty .handler .timeout .WriteTimeoutHandler ;
3434import io .netty .util .ReferenceCountUtil ;
3535import io .netty .util .ReferenceCounted ;
36- import org .assertj .core .api .Assertions ;
3736import org .junit .jupiter .params .ParameterizedTest ;
3837import org .junit .jupiter .params .provider .ValueSource ;
3938import org .reactivestreams .Subscription ;
@@ -267,6 +266,7 @@ void shouldNotLeakIfFusedOnRacingCancelAndOnNext(boolean flushOnEach) {
267266
268267 @ ParameterizedTest
269268 @ ValueSource (booleans = {true , false })
269+ @ SuppressWarnings ("unchecked" )
270270 void shouldCallQueueClearToNotifyTermination (boolean flushOnEach ) {
271271 //use an extra handler
272272 EmbeddedChannel channel = new EmbeddedChannel (true , true , new ChannelHandlerAdapter () {});
@@ -339,7 +339,7 @@ public void onComplete() {
339339
340340 channel .flush ();
341341 messages .forEach (ReferenceCountUtil ::release );
342- Assertions . assertThat (cleared ).isTrue ();
342+ assertThat (cleared ).isTrue ();
343343 }
344344
345345 static void wait (WeakReference <Subscription > ref ) {
You can’t perform that action at this time.
0 commit comments