Github user yufeldman commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/99#discussion_r90953900
  
    --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java ---
    @@ -71,7 +71,7 @@
         NettyServerCnxnFactory factory;
         boolean initialized;
         
    -    NettyServerCnxn(Channel channel, ZooKeeperServer zks, 
NettyServerCnxnFactory factory) {
    +    public NettyServerCnxn(Channel channel, ZooKeeperServer zks, 
NettyServerCnxnFactory factory) {
    --- End diff --
    
    @hanm - >>> so all tests fall back to create NIOServerCnxnx instead
    It is not the case, they don't fall back to NIO - they fail.
    Here is printout form running tests with both Netty and MockNettyServerCnxn 
not having public ctor:
       [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.159 sec
      **  [junit] Test org.apache.zookeeper.server.NettyServerCnxnTest FAILED **
        [junit] Running org.apache.zookeeper.server.PrepRequestProcessorTest
        [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.279 sec
        [junit] Running org.apache.zookeeper.server.PurgeTxnTest
        [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
2.431 sec
        [junit] Running org.apache.zookeeper.server.ReferenceCountedACLCacheTest
        [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 0.089 sec
        [junit] Running org.apache.zookeeper.server.SerializationPerfTest
        [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1.114 sec
        [junit] Running org.apache.zookeeper.server.ServerCxnExceptionsTest
        [junit] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 
0.284 sec
    **    [junit] Test org.apache.zookeeper.server.ServerCxnExceptionsTest 
FAILED **
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to