accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3902) Ensure [Batch]Scanners are closed in ITs
Date Fri, 09 Oct 2015 15:25:26 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950555#comment-14950555
] 

Christopher Tubbs commented on ACCUMULO-3902:
---------------------------------------------

If we make them AutoCloseable, it should be easier to identify (and encourage closing) through
compiler warnings.

> Ensure [Batch]Scanners are closed in ITs
> ----------------------------------------
>
>                 Key: ACCUMULO-3902
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3902
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 1.7.2, 1.8.0
>
>
> Do an audit of the integration tests to verify that we actually close Scanners and BatchScanners.
This is a best practice that we should be encouraging (by doing it in our tests). It can also
lead to bugs in other test cases (ACCUMULO-3888).



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

Mime
View raw message