You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/11/26 16:26:12 UTC
[jira] [Commented] (ACCUMULO-3370) Integration tests runs should be
controlled via junit categories
[ 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)