ignite-6174 Temporary changed test until issue not fixed
@@ -56,6 +56,7 @@ import org.apache.ignite.transactions.Transaction;
import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
import static org.apache.ignite.cache.CacheMode.PARTITIONED;
+import static org.apache.ignite.internal.processors.cache.ExchangeContext.IGNITE_EXCHANGE_COMPATIBILITY_VER_1;
import static org.apache.ignite.transactions.TransactionConcurrency.OPTIMISTIC;
import static org.apache.ignite.transactions.TransactionConcurrency.PESSIMISTIC;
import static org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_READ;
@@ -328,6 +329,10 @@ public abstract class IgniteCachePrimaryNodeFailureRecoveryAbstractTest extends
boolean optimistic)
throws Exception
{
+ // TODO IGNITE-6174: when exchanges can be merged test fails because of IGNITE-6174.
+ System.setProperty(IGNITE_EXCHANGE_COMPATIBILITY_VER_1, "true");
+
+ try {
IgniteCache<Integer, Integer> cache0 = jcache(0);
IgniteCache<Integer, Integer> cache2 = jcache(2);
@@ -414,6 +419,10 @@ public abstract class IgniteCachePrimaryNodeFailureRecoveryAbstractTest extends
checkKey(key1, rollback ? null : key1Nodes);
checkKey(key2, rollback ? null : key2Nodes);
}
+ finally {
+ System.clearProperty(IGNITE_EXCHANGE_COMPATIBILITY_VER_1);
+ }
+ }
/**
* @param key Key.
