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-878) Decide fate of Mock Accumulo
Date Tue, 27 Nov 2012 21:06:58 GMT

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

Christopher Tubbs commented on ACCUMULO-878:
--------------------------------------------

I like the idea of both. However, I do think that there are probably some "unit tests" that
are really integration tests and should be tested against a real instance. Many such tests
can be done during the integration-test phase of the build lifecycle (perhaps within the test
module or a dedicated integration test module, if it will depend on other modules being built).
MiniAccumuloCluster can be set up during the pre-integration-test phase and shut down during
the post-integration-test phase, with maven-failsafe-plugin being used to run these tests
previously treated as "unit tests". This can probably be done using maven-exec-plugin, but
it might be easier to write a custom maven-mini-accumulo-cluster-plugin, like the maven-jetty-plugin,
for launching/shutting down the MiniAccumuloCluster. If this option is pursued, I'm curious
if there will still be any remaining need for mock... it might be easier to determine if we
need this after we implement proper integration testing. If there's a problem running integration
tests on Windows, that can probably be fixed.
                
> Decide fate of Mock Accumulo
> ----------------------------
>
>                 Key: ACCUMULO-878
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-878
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>            Reporter: Keith Turner
>             Fix For: 1.5.0
>
>
> Now that we have MiniAccumuloCluster, we need to decide what we want to do with Mock
Accumulo.  Seems like there are two options for 1.5, either deperecate it or continue to maintain
it.  The main advantage of keeping it around is that its fast, however its behavior is not
always correct (ACCUMULO-664, ACCUMULO-843, ACCUMULO-877).  If we choose to deperecate it,
we could probably close out the tickets against mock for 1.5.
> What are peoples thoughts?  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message