[wildfly-dev] How "optional" should the NoSQL integration be for WildFly...

Brian Stansberry brian.stansberry at redhat.com
Mon Sep 12 11:00:11 EDT 2016


> On Sep 12, 2016, at 9:31 AM, Scott Marlow <smarlow at redhat.com> wrote:
> 
> Hi,
> 
> I'm thinking that the NoSQL unit tests should be optional, since most 
> WildFly developers won't have access to a local NoSQL database server. 
> Currently, to run the unit tests, you have to define "nosql-tests" (e.g. 
> ./integration-tests.sh -Dnosql-tests).
> 

The standard pattern for this kind of switch is something like

-Dts.nosql

So please stick with that pattern.

How does this related to -DallTests, which right now turns on all tests except the mixed domain ones.

That “allTests” is an unfortunate name as it’s not all any more, but it’s widely known and used as the simple way to execute the vast bulk of the testsuite.

> As we work towards our first (NoSQL integration) pull requests for 
> WildFly master (and some small wildfly-core changes to the Phase class), 
> does anything else need to be optional?
> 
> Currently we are building WildFly to include the NoSQL driver artifacts, 
> for the specific versions of the drivers that we support.  We also allow 
> other versions of the NoSQL drivers to be brought into WildFly, as long 
> as they are (API) compatible with the version that we (loosely) 
> integrate with.
> 
> Thanks for the feedback!
> 
> Scott
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev

-- 
Brian Stansberry
Manager, Senior Principal Software Engineer
JBoss by Red Hat






More information about the wildfly-dev mailing list