Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test compatibility with older versions

Ignite test has build in in Framework to test compatibiltycompatibility. This framework provides an opportunity to start working with Ignite Ignite instances of previously released versions.


The entire module is built on top of the Ignite Testing Framework,   especially on the MiltiJVM-mode classes. There is a class IgniteCompatibilityAbstractTest class IgniteCompatibilityAbstractTest that provides methods to start Ignite Ignite nodes with versions which have been previously released in the Maven Maven repository in separate JVM and allows them to join topology.

Framework The framework is looking for artifacts of a specific version in the Maven local local repository, and if they don’t exist there, they will be downloaded and and stored via Maven.


The main implemented API:

Code Block
startGrid(name, version, configurationClosure);
startGrid(name, version, configurationClosure, postStartupClosure);

You can simply specify a version of Ignite, which you want to start,   define the configuration in the configurationClosure and set the the actions on the started node in the postStartupClosure.

It’s very easy straightforward to use it for writing unit tests, here is a simple examplewhich  which demonstrates the main functionalfunctions. 

Test of .NET API parity with Java API

...