[
https://issues.apache.org/jira/browse/KNOX-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated KNOX-1460:
-------------------------------
Attachment: KNOX-1460.patch
Status: Patch Available (was: In Progress)
The switch to close() also allows to use try-with-resources to cleanup the
finally block.
> Zookeeper tests should call close() instead of stop()
> -----------------------------------------------------
>
> Key: KNOX-1460
> URL: https://issues.apache.org/jira/browse/KNOX-1460
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Minor
> Fix For: 1.2.0
>
> Attachments: KNOX-1460.patch
>
>
> During testing, the Zookeeper tests call stop() instead of close(). This is
> an immediate stop and doesn't clean up resources. close() on the other hand
> cleans up resources.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)