File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/rabbitmq/stream/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3838import com .rabbitmq .stream .impl .TestUtils .DisabledIfFilteringNotSupported ;
3939import io .netty .buffer .ByteBuf ;
4040import io .netty .buffer .ByteBufAllocator ;
41- import io .netty .buffer .UnpooledByteBufAllocator ;
41+ import io .netty .buffer .PooledByteBufAllocator ;
4242import io .netty .channel .ChannelOption ;
4343import io .netty .channel .ConnectTimeoutException ;
4444import java .io .ByteArrayOutputStream ;
@@ -510,7 +510,7 @@ void consume() throws Exception {
510510 @ ParameterizedTest
511511 @ ValueSource (booleans = {true , false })
512512 void publishAndConsume (boolean directBuffer ) throws Exception {
513- ByteBufAllocator allocator = new UnpooledByteBufAllocator (directBuffer );
513+ ByteBufAllocator allocator = new PooledByteBufAllocator (directBuffer );
514514 int publishCount = 1_000_000 ;
515515
516516 CountDownLatch consumedLatch = new CountDownLatch (publishCount );
You can’t perform that action at this time.
0 commit comments