File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
driver-core/src/test/unit/com/mongodb/connection/netty Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ class NettyStreamFactoryFactorySpecification extends Specification {
4747 stream. getWorkerGroup(). getClass() == eventLoopGroupClass
4848
4949 where :
50- description | factoryFactory | allocator | socketChannelClass | eventLoopGroupClass
51- ' default' | s_defaultFactory | ByteBufAllocator . DEFAULT | NioSocketChannel | NioEventLoopGroup
52- ' custom' | s_customFactory | UnpooledByteBufAllocator . DEFAULT | OioSocketChannel | OioEventLoopGroup
50+ description | factoryFactory | allocator | socketChannelClass | eventLoopGroupClass
51+ ' default' | DEFAULT_FACTORY | ByteBufAllocator . DEFAULT | NioSocketChannel | NioEventLoopGroup
52+ ' custom' | CUSTOM_FACTORY | UnpooledByteBufAllocator . DEFAULT | OioSocketChannel | OioEventLoopGroup
5353 }
5454
5555 SocketSettings socketSettings = SocketSettings . builder(). build()
5656 SslSettings sslSettings = SslSettings . builder(). build()
5757 ServerAddress serverAddress = new ServerAddress ()
58- static def s_defaultFactory = NettyStreamFactoryFactory . builder(). build()
59- static def s_customFactory = NettyStreamFactoryFactory . builder()
58+ static final DEFAULT_FACTORY = NettyStreamFactoryFactory . builder(). build()
59+ static final CUSTOM_FACTORY = NettyStreamFactoryFactory . builder()
6060 .allocator(UnpooledByteBufAllocator . DEFAULT )
6161 .socketChannelClass(OioSocketChannel )
6262 .eventLoopGroup(new OioEventLoopGroup ())
You can’t perform that action at this time.
0 commit comments