You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/02/06 09:46:00 UTC
[jira] [Commented] (ZOOKEEPER-3269) Testable facade would benefit
from a queueEvent() method
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761620#comment-16761620 ]
Hudson commented on ZOOKEEPER-3269:
-----------------------------------
SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #387 (See [https://builds.apache.org/job/ZooKeeper-trunk/387/])
ZOOKEEPER-3269: Add queueEvent to the Testable facade (andor: rev f0f75d81087a2140e7f150bbb45a9fcec3d6644b)
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeper.java
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/Testable.java
* (edit) zookeeper-server/src/test/java/org/apache/zookeeper/test/SessionTimeoutTest.java
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeperTestable.java
> Testable facade would benefit from a queueEvent() method
> --------------------------------------------------------
>
> Key: ZOOKEEPER-3269
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3269
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Reporter: Jordan Zimmerman
> Assignee: Jordan Zimmerman
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> For testing and other reasons it would be very useful to add a way to inject an event into ZooKeeper's event queue. ZooKeeper already has the {{Testable}} for features such as this (low level, backdoor, testing, etc.). This queueEvent method would be particularly helpful to Apache Curator and we'd very much appreciate its inclusion.
> The method should have the signature:
> {code}
> void queueEvent(WatchedEvent event);
> {code}
> Calling this would have the affect of queueing an event into the clients queue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)