Hi,
Is there a way with GridCommonAbstractTest to start N instances of a given
grid configuration?
I see the following method signatures:
protected Ignite startGrid();
protected Ignite startGrid(int idx, GridSpringResourceContext ctx);
protected Ignite startGrid(String gridName);
protected Ignite startGrid(String gridName, GridSpringResourceContext
ctx);
protected Ignite startGrid(String gridName, IgniteConfiguration cfg);
protected Ignite startGrid(String gridName, String springCfgPath);
and only one:
protected final Ignite startGrids(int cnt);
Would it make sense to create the corresponding permutations? I'm concerned
with the class becoming too long.
Or perhaps a new GridMultipleInstancesAbstractTest that extends
GridCommonAbstractTest and provides these methods?
Or a utility class instead?
Regards,
*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk