accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3370) Integration tests runs should be controlled via junit categories
Date Wed, 26 Nov 2014 15:26:12 GMT

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

Josh Elser commented on ACCUMULO-3370:
--------------------------------------

You got it wrong. Tests need to specify if the can *only* run against a minicluster, not if
they can run against a minicluster. It's implied that any test can run against a minicluster
as has been the case. 

Also, I still don't know what you expect the code to look like for this so I unassigned myself.


> Integration tests runs should be controlled via junit categories
> ----------------------------------------------------------------
>
>                 Key: ACCUMULO-3370
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3370
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini, test
>            Reporter: Mike Drob
>
> After ACCUMULO-3167 our integration tests need to specify if they can run on a mini cluster
or not. They do so by either including an {{Assume}} or overriding the method {{canRunTest}}.
> Instead, we should use junit categories[1] and then can easily turn tests on and off.
> [1]: https://github.com/junit-team/junit/wiki/Categories



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

Mime
View raw message