You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Cameron McKenzie (JIRA)" <ji...@apache.org> on 2016/06/01 00:11:12 UTC

[jira] [Resolved] (CURATOR-333) TestCleanState can hide test assertions

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

Cameron McKenzie resolved CURATOR-333.
--------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: TBD)
                   3.2.0

> TestCleanState can hide test assertions
> ---------------------------------------
>
>                 Key: CURATOR-333
>                 URL: https://issues.apache.org/jira/browse/CURATOR-333
>             Project: Apache Curator
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 3.1.0
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>             Fix For: 3.2.0
>
>
> TestCleanState is used in finally blocks in lots of tests to close the Curator handle and check for cleaned watchers. However, being in a finally, it always runs. If there is an exception or assertion, it will run and always fail hiding the real error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)