zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ZOOKEEPER-3269) Testable facade would benefit from a queueEvent() method
Date Wed, 06 Feb 2019 08:47:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andor Molnar resolved ZOOKEEPER-3269.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 799
[https://github.com/apache/zookeeper/pull/799]

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 2.5h
>  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)

Mime
View raw message