You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2019/01/08 04:05:00 UTC

[jira] [Resolved] (CURATOR-501) TestRemoveWatches has expectedExceptions list with ZK 3.5 only class

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

Jordan Zimmerman resolved CURATOR-501.
--------------------------------------
    Resolution: Fixed
      Assignee: Jordan Zimmerman

> TestRemoveWatches has expectedExceptions list with ZK 3.5 only class
> --------------------------------------------------------------------
>
>                 Key: CURATOR-501
>                 URL: https://issues.apache.org/jira/browse/CURATOR-501
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 4.1.0
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>            Priority: Major
>             Fix For: 4.1.1
>
>
> {{TestRemoveWatches.testRemoveUnregisteredWatcher}} is defined with the TestNG annotation of {{@Test(expectedExceptions=KeeperException.NoWatcherException.class)}}. When this is run by "curator-test-zk34" using ZooKeeper 3.4.x it results in a deeply nested {{TypeNotPresentExceptionProxy}} as {{NoWatcherException}} doesn't exist in ZK 3.4. The test should be re-written to avoid this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)