protected static TcpDiscoveryIpFinder ipFinder = new TcpDiscoveryVmIpFinder(true);
private boolean client;
private boolean fairAffinity;
@Override protected IgniteConfiguration getConfiguration(String gridName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(gridName);
<BUG>((TcpDiscoverySpi)cfg.getDiscoverySpi()).setIpFinder(ipFinder);
</BUG>
cfg.setClientMode(client);
CacheConfiguration ccfg = new CacheConfiguration();
if (fairAffinity)

protected static TcpDiscoveryIpFinder ipFinder = new TcpDiscoveryVmIpFinder(true);
private boolean client;
private boolean fairAffinity;
@Override protected IgniteConfiguration getConfiguration(String gridName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(gridName);
((TcpDiscoverySpi)cfg.getDiscoverySpi()).setIpFinder(ipFinder).setForceServerMode(true);
cfg.setClientMode(client);
CacheConfiguration ccfg = new CacheConfiguration();
if (fairAffinity)
