+1 Nice work Bruce
On 1/18/17 15:11, Bruce Schuchardt 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.