fix OutOfMemory in Queries1 suite in master branch. Limit partition count - Fixes
@@ -33,6 +33,7 @@ import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.cache.CacheWriteSynchronizationMode;
import org.apache.ignite.cache.QueryEntity;
import org.apache.ignite.cache.QueryIndex;
+import org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction;
import org.apache.ignite.cache.query.SqlFieldsQuery;
import org.apache.ignite.cache.query.SqlQuery;
import org.apache.ignite.cluster.ClusterNode;
@@ -182,6 +183,8 @@ public abstract class DynamicIndexAbstractSelfTest extends AbstractSchemaSelfTes
ccfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);
ccfg.setBackups(1);
+ ccfg.setAffinity(new RendezvousAffinityFunction(false, 128));
+
return ccfg;
}
