Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4519

Testable interface should have a testableCloseSocket() method

    XMLWordPrintableJSON

Details

    Description

      The ClientCnxn class has a protected function testableCloseSocket(), which allows applications to test how their system will respond if the Zookeeper socket connection is closed.

      This would be a very easy feature to add to the Testable interface, as the ZookeeperTestable class has access to a ClientCnxn that it could easily pass the testableCloseSocket() call to. That way applications wanting to test this do not need to rely on the tests artifacts in order to use this method, as they currently do.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m