This is very interesting and it reminds me to ask this: how separable do you think DUnit could be from Geode?
I'm thinking that it could be very useful in other Java-based distributed projects around ASF. Thanks, Roman. On Wed, Jan 18, 2017 at 3:11 PM, Bruce Schuchardt <bschucha...@pivotal.io> wrote: > I've extended the distributedTest framework to let us do > backward-compatibility testing. Once it is reviewed and committed people > will be needed to modify existing tests to run against multiple versions of > Geode. > > Here is the RB review: https://reviews.apache.org/r/55688/ > > The diff in this review includes a client/server test modified to run > against multiple versions. Basically you just need to parameterize an > existing distributedTest case to run against multiple versions using > Host.getHost(0).getVM(testVersion, vmNumber). That give you a JVM that's > set up to use the requested version. You can then use the normal > method/lambda invocation methods to run code in that JVM. > > Currently version "100" (1.0.0-incubating) is available for > backward-compatibility testing. Versions to be tested are configured in > geode-old-versions/build.gradle as source-sets. Adding a new version is > trivial.