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

Jonas Pfefferle commented on CRAIL-78:
--------------------------------------

I like the idea. We do this via profiles and tagging in jNVMf 
(https://github.com/zrlio/jNVMf).

Note that also for TCP we expect a running setup to run test against. We could 
however add starting a small local config (1 namenode, 1 datanode) to the test. 
Otherwise we should always be able to just run basic unit test instead of full 
system tests.

> Allow Crail to be built without -DskipTests
> -------------------------------------------
>
>                 Key: CRAIL-78
>                 URL: https://issues.apache.org/jira/browse/CRAIL-78
>             Project: Apache Crail
>          Issue Type: Improvement
>            Reporter: Adrian Schuepbach
>            Priority: Minor
>
> Currently, the recommended way to compile Crail is without running the tests:
> {{mvn -DskipTests install}}
> This is mainly due to the dependencies of RDMA related functionality.
> A possible improvement would be to change it in a way that a regular build 
> without the -DskipTests flag would run all unit tests, which do not depend on 
> RDMA. If Crail is being built on a machine with RDMA support, a flag could 
> indicate that the RDMA unit tests can also be run.
> This way, every user, which compiles Crail the (new) regular way
> {{mvn install}}
> would at least always run basic unit tests. This leads to higher code 
> coverage.
> RDMA users can run additional RDMA-dependent unit tests.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to