You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by David Medinets <da...@gmail.com> on 2013/03/21 04:31:45 UTC

Defining ACCUMULO_HOME for Windows Unit Tests

I used the Project > Custom > Goals in order to define a custom Maven goal:

          <action>
            <actionName>CUSTOM-test</actionName>
            <displayName>test</displayName>
            <goals>
                <goal>test</goal>
            </goals>
            <properties>
                <Env.ACCUMULO_HOME>C:\MyAccumuloHome</Env.ACCUMULO_HOME>
            </properties>
        </action>

When this custom goal is executed, a few more unit tests in the Start
module succeed.

.. have a good night ..

Re: Defining ACCUMULO_HOME for Windows Unit Tests

Posted by Keith Turner <ke...@deenlo.com>.
Some of the unit test in Start use the HDFS MiniDFSCluster.  I wonder
if MiniDFSCluster works on windows.   As a test, you could try
removing the test in
org.apache.accumulo.start.classloader.vfs.providers, I think these are
the ones that use MiniDFS.

On Wed, Mar 20, 2013 at 11:31 PM, David Medinets
<da...@gmail.com> wrote:
> I used the Project > Custom > Goals in order to define a custom Maven goal:
>
>           <action>
>             <actionName>CUSTOM-test</actionName>
>             <displayName>test</displayName>
>             <goals>
>                 <goal>test</goal>
>             </goals>
>             <properties>
>                 <Env.ACCUMULO_HOME>C:\MyAccumuloHome</Env.ACCUMULO_HOME>
>             </properties>
>         </action>
>
> When this custom goal is executed, a few more unit tests in the Start
> module succeed.
>
> .. have a good night ..