http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAbstractSelfTest.java
index fbb7c3a..bede56f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAbstractSelfTest.java
@@ -56,6 +56,8 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheRebalanceMode.SYNC;
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
@@ -64,6 +66,7 @@ import static 
org.apache.ignite.testframework.GridTestUtils.runAsync;
 /**
  *
  */
+@RunWith(JUnit4.class)
 public abstract class IgniteCachePutRetryAbstractSelfTest extends 
GridCommonAbstractTest {
     /** IP finder. */
     private static final TcpDiscoveryIpFinder IP_FINDER = new 
TcpDiscoveryVmIpFinder(true);
@@ -169,6 +172,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPut() throws Exception {
         checkRetry(Test.PUT, false, false);
     }
@@ -176,6 +180,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testGetAndPut() throws Exception {
         checkRetry(Test.GET_AND_PUT, false, false);
     }
@@ -183,6 +188,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPutStoreEnabled() throws Exception {
         checkRetry(Test.PUT, false, true);
     }
@@ -190,6 +196,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPutAll() throws Exception {
         checkRetry(Test.PUT_ALL, false, false);
     }
@@ -197,6 +204,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPutAsync() throws Exception {
         checkRetry(Test.PUT_ASYNC, false, false);
     }
@@ -204,6 +212,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPutAsyncStoreEnabled() throws Exception {
         checkRetry(Test.PUT_ASYNC, false, true);
     }
@@ -211,6 +220,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testInvoke() throws Exception {
         checkRetry(Test.INVOKE, false, false);
     }
@@ -218,6 +228,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testInvokeAll() throws Exception {
         checkRetry(Test.INVOKE_ALL, false, false);
     }
@@ -225,6 +236,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testInvokeAllEvict() throws Exception {
         checkRetry(Test.INVOKE_ALL, true, false);
     }
@@ -468,6 +480,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testFailsWithNoRetries() throws Exception {
         checkFailsWithNoRetries(false);
     }
@@ -475,6 +488,7 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testFailsWithNoRetriesAsync() throws Exception {
         checkFailsWithNoRetries(true);
     }
@@ -628,4 +642,4 @@ public abstract class IgniteCachePutRetryAbstractSelfTest 
extends GridCommonAbst
             STORE_MAP.remove(key);
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAtomicSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAtomicSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAtomicSelfTest.java
index d7e9981..fc37e5f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAtomicSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryAtomicSelfTest.java
@@ -28,6 +28,8 @@ import org.apache.ignite.internal.IgniteInternalFuture;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.transactions.Transaction;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -37,6 +39,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCachePutRetryAtomicSelfTest extends 
IgniteCachePutRetryAbstractSelfTest {
     /** {@inheritDoc} */
     @Override protected CacheAtomicityMode atomicityMode() {
@@ -46,6 +49,7 @@ public class IgniteCachePutRetryAtomicSelfTest extends 
IgniteCachePutRetryAbstra
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testPutInsideTransaction() throws Exception {
         ignite(0).createCache(cacheConfiguration(false, false));
 
@@ -104,4 +108,4 @@ public class IgniteCachePutRetryAtomicSelfTest extends 
IgniteCachePutRetryAbstra
             }
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryTransactionalSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryTransactionalSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryTransactionalSelfTest.java
index 161025f..8c7f859 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryTransactionalSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCachePutRetryTransactionalSelfTest.java
@@ -34,6 +34,8 @@ import org.apache.ignite.cache.CacheAtomicityMode;
 import org.apache.ignite.cache.CacheEntryProcessor;
 import org.apache.ignite.internal.IgniteInternalFuture;
 import org.apache.ignite.internal.util.typedef.internal.U;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.testframework.GridTestUtils.runAsync;
@@ -42,6 +44,7 @@ import static 
org.apache.ignite.testframework.GridTestUtils.runMultiThreadedAsyn
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCachePutRetryTransactionalSelfTest extends 
IgniteCachePutRetryAbstractSelfTest {
     /** */
     private static final int FACTOR = 1000;
@@ -54,6 +57,7 @@ public class IgniteCachePutRetryTransactionalSelfTest extends 
IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testAtomicLongRetries() throws Exception {
         final AtomicBoolean finished = new AtomicBoolean();
 
@@ -91,6 +95,7 @@ public class IgniteCachePutRetryTransactionalSelfTest extends 
IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testExplicitTransactionRetriesSingleValue() throws Exception {
         checkRetry(Test.TX_PUT, false, false);
     }
@@ -98,6 +103,7 @@ public class IgniteCachePutRetryTransactionalSelfTest 
extends IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testExplicitTransactionRetriesSingleValueStoreEnabled() throws 
Exception {
         checkRetry(Test.TX_PUT, false, true);
     }
@@ -105,6 +111,7 @@ public class IgniteCachePutRetryTransactionalSelfTest 
extends IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testExplicitTransactionRetries() throws Exception {
         explicitTransactionRetries(false, false);
     }
@@ -112,6 +119,7 @@ public class IgniteCachePutRetryTransactionalSelfTest 
extends IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testExplicitTransactionRetriesStoreEnabled() throws Exception {
         explicitTransactionRetries(false, true);
     }
@@ -119,6 +127,7 @@ public class IgniteCachePutRetryTransactionalSelfTest 
extends IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testExplicitTransactionRetriesEvictionEnabled() throws 
Exception {
         explicitTransactionRetries(true, false);
     }
@@ -202,6 +211,7 @@ public class IgniteCachePutRetryTransactionalSelfTest 
extends IgniteCachePutRetr
     /**
      * @throws Exception If failed.
      */
+    @org.junit.Test
     public void testOriginatingNodeFailureForcesOnePhaseCommitDataCleanup() 
throws Exception {
         ignite(0).createCache(cacheConfiguration(false, false));
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheStartWithLoadTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheStartWithLoadTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheStartWithLoadTest.java
index 7d76c28..10d0781 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheStartWithLoadTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheStartWithLoadTest.java
@@ -39,10 +39,14 @@ import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
 import org.apache.ignite.transactions.TransactionIsolation;
 import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCacheStartWithLoadTest extends GridCommonAbstractTest {
     /** */
     static final String CACHE_NAME = "tx_repl";
@@ -76,6 +80,7 @@ public class IgniteCacheStartWithLoadTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception if failed.
      */
+    @Test
     public void testNoRebalanceDuringCacheStart() throws Exception {
         IgniteEx crd = (IgniteEx)startGrids(4);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheTxRecoveryRollbackTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheTxRecoveryRollbackTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheTxRecoveryRollbackTest.java
index 11c4c67..538af7f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheTxRecoveryRollbackTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheTxRecoveryRollbackTest.java
@@ -56,6 +56,9 @@ import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheRebalanceMode.ASYNC;
@@ -67,6 +70,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCacheTxRecoveryRollbackTest extends GridCommonAbstractTest {
     /** */
     private static final TcpDiscoveryIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
@@ -115,6 +119,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx1Implicit() throws Exception {
         nearTx1(null);
     }
@@ -122,6 +127,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx1Optimistic() throws Exception {
         nearTx1(OPTIMISTIC);
     }
@@ -129,6 +135,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx1Pessimistic() throws Exception {
         nearTx1(PESSIMISTIC);
     }
@@ -213,6 +220,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx2Implicit() throws Exception {
         nearTx2(null);
     }
@@ -220,6 +228,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx2Optimistic() throws Exception {
         nearTx2(OPTIMISTIC);
     }
@@ -227,6 +236,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearTx2Pessimistic() throws Exception {
         nearTx2(PESSIMISTIC);
     }
@@ -319,6 +329,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStoreImplicit() throws Exception {
         txWithStore(null, true);
     }
@@ -326,6 +337,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStoreOptimistic() throws Exception {
         txWithStore(OPTIMISTIC, true);
     }
@@ -333,6 +345,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStorePessimistic() throws Exception {
         txWithStore(PESSIMISTIC, true);
     }
@@ -340,6 +353,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStoreNoWriteThroughImplicit() throws Exception {
         txWithStore(null, false);
     }
@@ -347,6 +361,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStoreNoWriteThroughOptimistic() throws Exception {
         txWithStore(OPTIMISTIC, false);
     }
@@ -354,6 +369,7 @@ public class IgniteCacheTxRecoveryRollbackTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTxWithStoreNoWriteThroughPessimistic() throws Exception {
         txWithStore(PESSIMISTIC, false);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheMvccTxSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheMvccTxSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheMvccTxSelfTest.java
index 63a255e..e8cb36b 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheMvccTxSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheMvccTxSelfTest.java
@@ -17,6 +17,9 @@
 package org.apache.ignite.internal.processors.cache.distributed.dht;
 
 import org.apache.ignite.cache.CacheAtomicityMode;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static 
org.apache.ignite.transactions.TransactionConcurrency.PESSIMISTIC;
 import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_READ;
@@ -24,6 +27,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCrossCacheMvccTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTest {
     /** {@inheritDoc} */
     @Override public CacheAtomicityMode atomicityMode() {
@@ -33,6 +37,7 @@ public class IgniteCrossCacheMvccTxSelfTest extends 
IgniteCrossCacheTxAbstractSe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimisticRepeatableRead() throws Exception {
         checkTxsSingleOp(PESSIMISTIC, REPEATABLE_READ);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
index 3b0106c..b8ae501 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
@@ -17,6 +17,9 @@
 package org.apache.ignite.internal.processors.cache.distributed.dht;
 
 import org.apache.ignite.cache.CacheAtomicityMode;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.transactions.TransactionConcurrency.OPTIMISTIC;
 import static 
org.apache.ignite.transactions.TransactionConcurrency.PESSIMISTIC;
@@ -27,6 +30,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.SERIALIZABLE;
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTest {
     /** {@inheritDoc} */
     @Override public CacheAtomicityMode atomicityMode() {
@@ -36,6 +40,7 @@ public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimisticReadCommitted() throws Exception {
         checkTxsSingleOp(PESSIMISTIC, READ_COMMITTED);
     }
@@ -43,6 +48,7 @@ public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimisticRepeatableRead() throws Exception {
         checkTxsSingleOp(PESSIMISTIC, REPEATABLE_READ);
     }
@@ -50,6 +56,7 @@ public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticReadCommitted() throws Exception {
         checkTxsSingleOp(OPTIMISTIC, READ_COMMITTED);
     }
@@ -57,6 +64,7 @@ public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticRepeatableRead() throws Exception {
         checkTxsSingleOp(OPTIMISTIC, REPEATABLE_READ);
     }
@@ -64,6 +72,7 @@ public class IgniteCrossCacheTxSelfTest extends 
IgniteCrossCacheTxAbstractSelfTe
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticSerializable() throws Exception {
         checkTxsSingleOp(OPTIMISTIC, SERIALIZABLE);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
index c3fa4f0..0bad828 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
@@ -39,6 +39,9 @@ import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
 import org.apache.ignite.transactions.TransactionIsolation;
 import org.jetbrains.annotations.Nullable;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.transactions.TransactionConcurrency.OPTIMISTIC;
 import static 
org.apache.ignite.transactions.TransactionConcurrency.PESSIMISTIC;
@@ -49,6 +52,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.SERIALIZABLE;
 /**
  */
 @SuppressWarnings({"unchecked", "ThrowableNotThrown"})
+@RunWith(JUnit4.class)
 public class NotMappedPartitionInTxTest extends GridCommonAbstractTest {
     /** Cache. */
     private static final String CACHE = "testCache";
@@ -88,6 +92,7 @@ public class NotMappedPartitionInTxTest extends 
GridCommonAbstractTest {
     /**
      *
      */
+    @Test
     public void testOneServerTx() throws Exception {
         try {
             isClient = false;
@@ -110,6 +115,7 @@ public class NotMappedPartitionInTxTest extends 
GridCommonAbstractTest {
     /**
      *
      */
+    @Test
     public void testOneServerMvcc() throws Exception {
         fail("https://issues.apache.org/jira/browse/IGNITE-10377";);
 
@@ -132,6 +138,7 @@ public class NotMappedPartitionInTxTest extends 
GridCommonAbstractTest {
     /**
      *
      */
+    @Test
     public void testFourServersTx() throws Exception {
         try {
             isClient = false;
@@ -154,6 +161,7 @@ public class NotMappedPartitionInTxTest extends 
GridCommonAbstractTest {
     /**
      *
      */
+    @Test
     public void testFourServersMvcc() throws Exception {
         fail("https://issues.apache.org/jira/browse/IGNITE-10377";);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
index 30ac83d..d4e9395 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/TxRecoveryStoreEnabledTest.java
@@ -43,6 +43,9 @@ import 
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.transactions.TransactionConcurrency.OPTIMISTIC;
 import static 
org.apache.ignite.transactions.TransactionConcurrency.PESSIMISTIC;
@@ -51,6 +54,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.READ_COMMITTED
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class TxRecoveryStoreEnabledTest extends GridCommonAbstractTest {
     /** Nodes count. */
     private static final int NODES_CNT = 2;
@@ -102,6 +106,7 @@ public class TxRecoveryStoreEnabledTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimistic() throws Exception {
         checkTxRecovery(OPTIMISTIC);
     }
@@ -109,6 +114,7 @@ public class TxRecoveryStoreEnabledTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimistic() throws Exception {
         checkTxRecovery(PESSIMISTIC);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicPutAllChangingTopologyTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicPutAllChangingTopologyTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicPutAllChangingTopologyTest.java
index 1eb8347..79e19a3 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicPutAllChangingTopologyTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicPutAllChangingTopologyTest.java
@@ -36,6 +36,9 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheMode.REPLICATED;
@@ -45,6 +48,7 @@ import static org.apache.ignite.cache.CacheRebalanceMode.SYNC;
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 
 /** */
+@RunWith(JUnit4.class)
 public class AtomicPutAllChangingTopologyTest extends GridCommonAbstractTest {
     /** */
     private static final TcpDiscoveryIpFinder IP_FINDER = new 
TcpDiscoveryVmIpFinder(true);
@@ -86,6 +90,7 @@ public class AtomicPutAllChangingTopologyTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllOnChangingTopology() throws Exception {
         List<IgniteInternalFuture> futs = new LinkedList<>();
 
@@ -209,4 +214,4 @@ public class AtomicPutAllChangingTopologyTest extends 
GridCommonAbstractTest {
             ", actual2=" + locSize2 + "]",
             locSize, CACHE_SIZE);
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicInvalidPartitionHandlingSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicInvalidPartitionHandlingSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicInvalidPartitionHandlingSelfTest.java
index ba17da0..0d26d13 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicInvalidPartitionHandlingSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicInvalidPartitionHandlingSelfTest.java
@@ -52,6 +52,9 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
 import static org.apache.ignite.cache.CacheRebalanceMode.SYNC;
@@ -63,6 +66,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.PRIMARY_SYNC
  * Test GridDhtInvalidPartitionException handling in ATOMIC cache during 
restarts.
  */
 @SuppressWarnings("ErrorNotRethrown")
+@RunWith(JUnit4.class)
 public class GridCacheAtomicInvalidPartitionHandlingSelfTest extends 
GridCommonAbstractTest {
     /** IP finder. */
     private static final TcpDiscoveryIpFinder IP_FINDER = new 
TcpDiscoveryVmIpFinder(true);
@@ -131,6 +135,7 @@ public class 
GridCacheAtomicInvalidPartitionHandlingSelfTest extends GridCommonA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrimaryFullSync() throws Exception {
         checkRestarts(FULL_SYNC);
     }
@@ -138,6 +143,7 @@ public class 
GridCacheAtomicInvalidPartitionHandlingSelfTest extends GridCommonA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrimaryPrimarySync() throws Exception {
         checkRestarts(PRIMARY_SYNC);
     }
@@ -145,6 +151,7 @@ public class 
GridCacheAtomicInvalidPartitionHandlingSelfTest extends GridCommonA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrimaryFullAsync() throws Exception {
         checkRestarts(FULL_ASYNC);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicPreloadSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicPreloadSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicPreloadSelfTest.java
index a14c3ef..da7ce8f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicPreloadSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridCacheAtomicPreloadSelfTest.java
@@ -35,6 +35,9 @@ import 
org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 import static org.apache.ignite.transactions.TransactionConcurrency.OPTIMISTIC;
@@ -44,6 +47,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  * Simple test for preloading in ATOMIC cache.
  */
+@RunWith(JUnit4.class)
 public class GridCacheAtomicPreloadSelfTest extends GridCommonAbstractTest {
     /** */
     private boolean nearEnabled;
@@ -68,6 +72,7 @@ public class GridCacheAtomicPreloadSelfTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimisticSimpleTxsNear() throws Exception {
         checkSimpleTxs(true, PESSIMISTIC);
     }
@@ -75,6 +80,7 @@ public class GridCacheAtomicPreloadSelfTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPessimisticSimpleTxsColocated() throws Exception {
         checkSimpleTxs(false, PESSIMISTIC);
     }
@@ -82,6 +88,7 @@ public class GridCacheAtomicPreloadSelfTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticSimpleTxsColocated() throws Exception {
         checkSimpleTxs(false, OPTIMISTIC);
     }
@@ -89,6 +96,7 @@ public class GridCacheAtomicPreloadSelfTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticSimpleTxsNear() throws Exception {
         checkSimpleTxs(false, OPTIMISTIC);
     }
@@ -218,4 +226,4 @@ public class GridCacheAtomicPreloadSelfTest extends 
GridCommonAbstractTest {
 
         return keys;
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/IgniteCacheAtomicProtocolTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/IgniteCacheAtomicProtocolTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/IgniteCacheAtomicProtocolTest.java
index 66c04ea..6e1e48a 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/IgniteCacheAtomicProtocolTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/IgniteCacheAtomicProtocolTest.java
@@ -49,6 +49,9 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheRebalanceMode.ASYNC;
@@ -59,6 +62,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.PRIMARY_SYNC
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class IgniteCacheAtomicProtocolTest extends GridCommonAbstractTest {
     /** */
     private static final TcpDiscoveryIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
@@ -122,6 +126,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllPrimaryFailure1() throws Exception {
         putAllPrimaryFailure(true, false);
     }
@@ -129,6 +134,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllPrimaryFailure1_UnstableTopology() throws Exception {
         blockRebalance = true;
 
@@ -138,6 +144,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllPrimaryFailure2() throws Exception {
         putAllPrimaryFailure(true, true);
     }
@@ -145,6 +152,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllPrimaryFailure2_UnstableTopology() throws Exception {
         blockRebalance = true;
 
@@ -214,6 +222,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllBackupFailure1() throws Exception {
         putAllBackupFailure1();
     }
@@ -221,6 +230,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllBackupFailure1_UnstableTopology() throws Exception {
         blockRebalance = true;
 
@@ -275,6 +285,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutBackupFailure1() throws Exception {
         putBackupFailure1();
     }
@@ -282,6 +293,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutBackupFailure1_UnstableTopology() throws Exception {
         blockRebalance = true;
 
@@ -331,6 +343,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFullAsyncPutRemap() throws Exception {
         fullAsyncRemap(false);
     }
@@ -338,6 +351,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFullAsyncPutAllRemap() throws Exception {
         fullAsyncRemap(true);
     }
@@ -406,6 +420,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutPrimarySync() throws Exception {
         startGrids(2);
 
@@ -448,6 +463,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutNearNodeFailure() throws Exception {
         startGrids(2);
 
@@ -485,6 +501,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllNearNodeFailure() throws Exception {
         final int SRVS = 4;
 
@@ -545,6 +562,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations0() throws Exception {
         cacheOperations(0);
     }
@@ -552,6 +570,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations_UnstableTopology0() throws Exception {
         blockRebalance = true;
 
@@ -561,6 +580,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations1() throws Exception {
         cacheOperations(1);
     }
@@ -568,6 +588,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations_UnstableTopology1() throws Exception {
         blockRebalance = true;
 
@@ -577,6 +598,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations2() throws Exception {
         cacheOperations(2);
     }
@@ -584,6 +606,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheOperations_UnstableTopology2() throws Exception {
         blockRebalance = true;
 
@@ -639,6 +662,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutMissedDhtRequest_UnstableTopology() throws Exception {
         blockRebalance = true;
 
@@ -678,6 +702,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllMissedDhtRequest_UnstableTopology1() throws 
Exception {
         putAllMissedDhtRequest_UnstableTopology(true, false);
     }
@@ -685,6 +710,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllMissedDhtRequest_UnstableTopology2() throws 
Exception {
         putAllMissedDhtRequest_UnstableTopology(true, true);
     }
@@ -750,6 +776,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutReaderUpdate1() throws Exception {
         readerUpdateDhtFails(false, false, false);
 
@@ -761,6 +788,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutReaderUpdate2() throws Exception {
         readerUpdateDhtFails(true, false, false);
 
@@ -772,6 +800,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllReaderUpdate1() throws Exception {
         readerUpdateDhtFails(false, false, true);
 
@@ -783,6 +812,7 @@ public class IgniteCacheAtomicProtocolTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutAllReaderUpdate2() throws Exception {
         readerUpdateDhtFails(true, false, true);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest.java
index 6e19fb7..7a9812a 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest.java
@@ -36,6 +36,9 @@ import org.apache.ignite.configuration.NearCacheConfiguration;
 import org.apache.ignite.internal.util.lang.GridAbsPredicate;
 import org.apache.ignite.internal.util.typedef.F;
 import org.apache.ignite.internal.util.typedef.internal.U;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static java.util.concurrent.TimeUnit.MILLISECONDS;
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
@@ -44,6 +47,7 @@ import static 
org.apache.ignite.testframework.GridTestUtils.waitForCondition;
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends 
GridCacheNearOnlyMultiNodeFullApiSelfTest {
     /** {@inheritDoc} */
     @Override protected CacheConfiguration cacheConfiguration(String 
igniteInstanceName) throws Exception {
@@ -80,16 +84,19 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testReaderTtlNoTx() {
         // No-op.
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testReaderTtlTx() {
         // No-op.
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testSize() throws Exception {
         IgniteCache<String, Integer> cache = jcache();
 
@@ -119,6 +126,7 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testClear() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
         IgniteCache<String, Integer> primary = fullCache();
@@ -154,6 +162,7 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testLocalClearKeys() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
         IgniteCache<String, Integer> primary = fullCache();
@@ -185,6 +194,7 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testEvictExpired() throws Exception {
         IgniteCache<String, Integer> cache = jcache();
 
@@ -232,6 +242,7 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testLocalEvict() throws Exception {
         IgniteCache<String, Integer> cache = jcache();
 
@@ -281,6 +292,7 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testPeekExpired() throws Exception {
         IgniteCache<String, Integer> c = jcache();
 
@@ -303,4 +315,4 @@ public class 
GridCacheAtomicClientOnlyMultiNodeFullApiSelfTest extends GridCache
 
         assert c.localSize() == 0 : "Cache is not empty.";
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest.java
index 6525e4a..7e64ce0 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest.java
@@ -25,12 +25,16 @@ import org.apache.ignite.cache.CacheAtomicityMode;
 import org.apache.ignite.cache.CachePeekMode;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.NearCacheConfiguration;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
 
 /**
  * Tests NEAR_ONLY cache.
  */
+@RunWith(JUnit4.class)
 public class GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest extends 
GridCacheNearOnlyMultiNodeFullApiSelfTest {
     /** {@inheritDoc} */
     @Override protected CacheConfiguration cacheConfiguration(String 
igniteInstanceName) throws Exception {
@@ -75,6 +79,7 @@ public class GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest 
extends GridCacheNe
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testClear() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
         IgniteCache<String, Integer> primary = fullCache();
@@ -111,4 +116,4 @@ public class 
GridCacheAtomicNearOnlyMultiNodeFullApiSelfTest extends GridCacheNe
         for (String key : keys)
             assertEquals((Integer)i++, nearCache.localPeek(key, 
CachePeekMode.ONHEAP));
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicPartitionedTckMetricsSelfTestImpl.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicPartitionedTckMetricsSelfTestImpl.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicPartitionedTckMetricsSelfTestImpl.java
index da0c7a9..08a44ec 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicPartitionedTckMetricsSelfTestImpl.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheAtomicPartitionedTckMetricsSelfTestImpl.java
@@ -21,10 +21,14 @@ import javax.cache.processor.EntryProcessor;
 import javax.cache.processor.EntryProcessorException;
 import javax.cache.processor.MutableEntry;
 import org.apache.ignite.IgniteCache;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Partitioned atomic cache metrics test.
  */
+@RunWith(JUnit4.class)
 public class GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends 
GridCacheAtomicPartitionedMetricsSelfTest {
     /** {@inheritDoc} */
     @Override protected int gridCount() {
@@ -34,6 +38,7 @@ public class GridCacheAtomicPartitionedTckMetricsSelfTestImpl 
extends GridCacheA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testEntryProcessorRemove() throws Exception {
         IgniteCache<Integer, Integer> cache = 
grid(0).cache(DEFAULT_CACHE_NAME);
 
@@ -68,6 +73,7 @@ public class GridCacheAtomicPartitionedTckMetricsSelfTestImpl 
extends GridCacheA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheStatistics() throws Exception {
         IgniteCache<Integer, Integer> cache = 
grid(0).cache(DEFAULT_CACHE_NAME);
 
@@ -108,6 +114,7 @@ public class 
GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends GridCacheA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testConditionReplace() throws Exception {
         IgniteCache<Integer, Integer> cache = 
grid(0).cache(DEFAULT_CACHE_NAME);
 
@@ -158,6 +165,7 @@ public class 
GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends GridCacheA
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutIfAbsent() throws Exception {
         IgniteCache<Integer, Integer> cache = 
grid(0).cache(DEFAULT_CACHE_NAME);
 
@@ -177,7 +185,7 @@ public class 
GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends GridCacheA
         assertEquals(putCount, cache.localMetrics().getCachePuts());
 
         result = cache.putIfAbsent(1, 1);
-        
+
         ++hitCount;
 
         cache.containsKey(123);
@@ -187,4 +195,4 @@ public class 
GridCacheAtomicPartitionedTckMetricsSelfTestImpl extends GridCacheA
         assertEquals(putCount, cache.localMetrics().getCachePuts());
         assertEquals(missCount, cache.localMetrics().getCacheMisses());
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheGetStoreErrorSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheGetStoreErrorSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheGetStoreErrorSelfTest.java
index 013f885..0ad86e0 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheGetStoreErrorSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheGetStoreErrorSelfTest.java
@@ -34,6 +34,9 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.MvccFeatureChecker;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheMode.LOCAL;
@@ -46,6 +49,7 @@ import static 
org.apache.ignite.events.EventType.EVT_TASK_FINISHED;
 /**
  * Checks that exception is propagated to user when cache store throws an 
exception.
  */
+@RunWith(JUnit4.class)
 public class GridCacheGetStoreErrorSelfTest extends GridCommonAbstractTest {
     /** */
     private static TcpDiscoveryIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
@@ -97,21 +101,25 @@ public class GridCacheGetStoreErrorSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testGetErrorNear() throws Exception {
         checkGetError(true, PARTITIONED);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testGetErrorColocated() throws Exception {
         checkGetError(false, PARTITIONED);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testGetErrorReplicated() throws Exception {
         checkGetError(false, REPLICATED);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testGetErrorLocal() throws Exception {
         checkGetError(false, LOCAL);
     }
@@ -175,4 +183,4 @@ public class GridCacheGetStoreErrorSelfTest extends 
GridCommonAbstractTest {
             // No-op.
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearAtomicMetricsSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearAtomicMetricsSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearAtomicMetricsSelfTest.java
index 4d82c71..da8d8e2 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearAtomicMetricsSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearAtomicMetricsSelfTest.java
@@ -22,10 +22,14 @@ import org.apache.ignite.cache.CacheAtomicityMode;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.internal.IgniteEx;
 import org.apache.ignite.internal.processors.cache.GridCacheEntryEx;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Atomic cache metrics test.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearAtomicMetricsSelfTest extends 
GridCacheNearMetricsSelfTest {
     /** {@inheritDoc} */
     @Override protected CacheConfiguration cacheConfiguration(String 
igniteInstanceName) throws Exception {
@@ -39,6 +43,7 @@ public class GridCacheNearAtomicMetricsSelfTest extends 
GridCacheNearMetricsSelf
     /**
      * Checks that enabled near cache does not affect metrics.
      */
+    @Test
     public void testNearCachePutRemoveGetMetrics() {
         IgniteEx initiator = grid(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearClientHitTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearClientHitTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearClientHitTest.java
index 6663a67..9e49aa3 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearClientHitTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearClientHitTest.java
@@ -29,12 +29,16 @@ import 
org.apache.ignite.configuration.NearCacheConfiguration;
 import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CachePeekMode.NEAR;
 
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearClientHitTest extends GridCommonAbstractTest {
     /** Ip finder. */
     private static final TcpDiscoveryVmIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
@@ -94,6 +98,7 @@ public class GridCacheNearClientHitTest extends 
GridCommonAbstractTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testLocalPeekAfterPrimaryNodeLeft() throws Exception {
         try {
             Ignite crd = startGrid("coordinator", 
getConfiguration("coordinator"));

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
index 9c7c933..9479535 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearEvictionSelfTest.java
@@ -32,6 +32,9 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
@@ -41,6 +44,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Tests entries distribution between primary-backup-near caches according to 
nodes count in grid.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearEvictionSelfTest extends GridCommonAbstractTest {
     /** Grid count. */
     private int gridCnt;
@@ -83,6 +87,7 @@ public class GridCacheNearEvictionSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNearEnabledOneNode() throws Exception {
         gridCnt = 1;
 
@@ -106,6 +111,7 @@ public class GridCacheNearEvictionSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNearEnabledTwoNodes() throws Exception {
         gridCnt = 2;
 
@@ -139,6 +145,7 @@ public class GridCacheNearEvictionSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNearEnabledThreeNodes() throws Exception {
         gridCnt = 3;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
index 97391a3..17f2e34 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMetricsSelfTest.java
@@ -30,12 +30,16 @@ import org.apache.ignite.internal.IgniteEx;
 import org.apache.ignite.internal.processors.cache.GridCacheAbstractSelfTest;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 
 /**
  * Cache metrics test.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearMetricsSelfTest extends GridCacheAbstractSelfTest {
     /** */
     private static final int KEY_CNT = 50;
@@ -110,6 +114,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearCacheDoesNotAffectCacheSize() throws Exception {
         IgniteCache<Integer, Integer> cache0 = 
grid(0).cache(DEFAULT_CACHE_NAME);
 
@@ -135,6 +140,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrimaryPut() throws Exception {
         Ignite g0 = grid(0);
 
@@ -190,6 +196,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testBackupPut() throws Exception {
         Ignite g0 = grid(0);
 
@@ -244,6 +251,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearPut() throws Exception {
         Ignite g0 = grid(0);
 
@@ -296,6 +304,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrimaryRead() throws Exception {
         Ignite g0 = grid(0);
 
@@ -352,6 +361,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testBackupRead() throws Exception {
         Ignite g0 = grid(0);
 
@@ -403,6 +413,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNearRead() throws Exception {
         Ignite g0 = grid(0);
 
@@ -456,6 +467,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCreateReadRemoveInvokesFromPrimary() throws Exception {
         Ignite g0 = grid(0);
 
@@ -511,6 +523,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCreateReadRemoveInvokesFromBackup() throws Exception {
         Ignite g0 = grid(0);
 
@@ -566,6 +579,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCreateReadRemoveInvokesFromNear() throws Exception {
         Ignite g0 = grid(0);
 
@@ -621,6 +635,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReadRemoveInvokesFromPrimary() throws Exception {
         Ignite g0 = grid(0);
 
@@ -667,6 +682,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReadRemoveInvokesFromBackup() throws Exception {
         Ignite g0 = grid(0);
 
@@ -712,6 +728,7 @@ public class GridCacheNearMetricsSelfTest extends 
GridCacheAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReadRemoveInvokesFromNear() throws Exception {
         Ignite g0 = grid(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiGetSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiGetSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiGetSelfTest.java
index 4633161..acab624 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiGetSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiGetSelfTest.java
@@ -36,6 +36,9 @@ import org.apache.ignite.transactions.Transaction;
 import org.apache.ignite.transactions.TransactionConcurrency;
 import org.apache.ignite.transactions.TransactionIsolation;
 import org.apache.ignite.transactions.TransactionOptimisticException;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static 
org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT;
@@ -50,6 +53,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.SERIALIZABLE;
 /**
  * Test getting the same value twice within the same transaction.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearMultiGetSelfTest extends GridCommonAbstractTest {
     /** Number of gets. */
     private static final int GET_CNT = 5;
@@ -125,102 +129,121 @@ public class GridCacheNearMultiGetSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticReadCommittedNoPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, READ_COMMITTED, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticReadCommittedWithPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, READ_COMMITTED, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticReadCommitted() throws Exception {
         checkDoubleGet(OPTIMISTIC, READ_COMMITTED, false);
         checkDoubleGet(OPTIMISTIC, READ_COMMITTED, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticRepeatableReadNoPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, REPEATABLE_READ, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticRepeatableReadWithPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, REPEATABLE_READ, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticRepeatableRead() throws Exception {
         checkDoubleGet(OPTIMISTIC, REPEATABLE_READ, false);
         checkDoubleGet(OPTIMISTIC, REPEATABLE_READ, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticSerializableNoPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, SERIALIZABLE, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticSerializableWithPut() throws Exception {
         checkDoubleGet(OPTIMISTIC, SERIALIZABLE, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testOptimisticSerializable() throws Exception {
         checkDoubleGet(OPTIMISTIC, SERIALIZABLE, false);
         checkDoubleGet(OPTIMISTIC, SERIALIZABLE, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticReadCommittedNoPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, READ_COMMITTED, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticReadCommittedWithPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, READ_COMMITTED, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticReadCommitted() throws Exception {
         checkDoubleGet(PESSIMISTIC, READ_COMMITTED, false);
         checkDoubleGet(PESSIMISTIC, READ_COMMITTED, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticRepeatableReadNoPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, REPEATABLE_READ, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticRepeatableReadWithPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, REPEATABLE_READ, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticRepeatableRead() throws Exception {
         checkDoubleGet(PESSIMISTIC, REPEATABLE_READ, false);
         checkDoubleGet(PESSIMISTIC, REPEATABLE_READ, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticSerializableNoPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, SERIALIZABLE, false);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticSerializableWithPut() throws Exception {
         checkDoubleGet(PESSIMISTIC, SERIALIZABLE, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testPessimisticSerializable() throws Exception {
         checkDoubleGet(PESSIMISTIC, SERIALIZABLE, false);
         checkDoubleGet(PESSIMISTIC, SERIALIZABLE, true);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testMvccPessimisticRepeatableReadNoPut() throws Exception {
         fail("https://issues.apache.org/jira/browse/IGNITE-7187";);
 
@@ -230,6 +253,7 @@ public class GridCacheNearMultiGetSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testMvccPessimisticRepeatableReadWithPut() throws Exception {
         fail("https://issues.apache.org/jira/browse/IGNITE-7187";);
 
@@ -332,4 +356,4 @@ public class GridCacheNearMultiGetSelfTest extends 
GridCommonAbstractTest {
                 ", t=" + t + (t != tx ? "tx=" + tx : "tx=''") + ']';
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
index 136526d..0e0bc96 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearMultiNodeSelfTest.java
@@ -60,6 +60,10 @@ import org.apache.ignite.testframework.MvccFeatureChecker;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
 import org.jetbrains.annotations.Nullable;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
@@ -70,6 +74,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  * Multi node test for near cache.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearMultiNodeSelfTest extends GridCommonAbstractTest {
     /** Grid count. */
     private static final int GRID_CNT = 2;
@@ -81,6 +86,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     private static TestStore store = new TestStore();
 
     /** {@inheritDoc} */
+    @Before
     @Override public void setUp() throws Exception {
         
MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE);
         
MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.CACHE_STORE);
@@ -256,6 +262,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /**  Test mappings. */
+    @Test
     public void testMappings() {
         mapDebug = false;
 
@@ -316,6 +323,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testReadThroughAndPut() throws Exception {
         Integer key = 100000;
 
@@ -339,6 +347,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testReadThrough() throws Exception {
         ClusterNode loc = grid(0).localNode();
 
@@ -384,6 +393,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
      * @throws Exception If failed.
      */
     @SuppressWarnings({"ConstantConditions"})
+    @Test
     public void testOptimisticWriteThrough() throws Exception {
         IgniteCache<Integer, String> near = jcache(0);
 
@@ -429,6 +439,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNoTransactionSinglePutx() throws Exception {
         IgniteCache<Integer, String> near = jcache(0);
 
@@ -446,6 +457,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNoTransactionSinglePut() throws Exception {
         IgniteCache<Integer, String> near = jcache(0);
 
@@ -488,6 +500,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testNoTransactionWriteThrough() throws Exception {
         IgniteCache<Integer, String> near = jcache(0);
 
@@ -517,6 +530,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
      * @throws Exception If failed.
      */
     @SuppressWarnings({"ConstantConditions"})
+    @Test
     public void testPessimisticWriteThrough() throws Exception {
         IgniteCache<Integer, String> near = jcache(0);
 
@@ -556,6 +570,7 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testConcurrentOps() throws Exception {
         // Don't create missing values.
         store.create(false);
@@ -587,11 +602,13 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testBackupsLocalAffinity() throws Exception {
         checkBackupConsistency(2);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testBackupsRemoteAffinity() throws Exception {
         checkBackupConsistency(1);
     }
@@ -618,11 +635,13 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testSingleLockLocalAffinity() throws Exception {
         checkSingleLock(2);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testSingleLockRemoteAffinity() throws Exception {
         checkSingleLock(1);
     }
@@ -733,11 +752,13 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Throwable If failed. */
+    @Test
     public void testSingleLockReentryLocalAffinity() throws Throwable {
         checkSingleLockReentry(2);
     }
 
     /** @throws Throwable If failed. */
+    @Test
     public void testSingleLockReentryRemoteAffinity() throws Throwable {
         checkSingleLockReentry(1);
     }
@@ -800,11 +821,13 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGetLocalAffinity() throws Exception {
         checkTransactionSingleGet(2);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGetRemoteAffinity() throws Exception {
         checkTransactionSingleGet(1);
     }
@@ -846,11 +869,13 @@ public class GridCacheNearMultiNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGetRemoveLocalAffinity() throws Exception 
{
         checkTransactionSingleGetRemove(2);
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGetRemoveRemoteAffinity() throws 
Exception {
         checkTransactionSingleGetRemove(1);
     }

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOneNodeSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOneNodeSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOneNodeSelfTest.java
index 2b4b60c..8b33512 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOneNodeSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOneNodeSelfTest.java
@@ -34,6 +34,10 @@ import 
org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.apache.ignite.testframework.MvccFeatureChecker;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
 import org.apache.ignite.transactions.Transaction;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
@@ -44,11 +48,13 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  * Single node test for near cache.
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearOneNodeSelfTest extends GridCommonAbstractTest {
     /** Cache store. */
     private static TestStore store = new TestStore();
 
     /** {@inheritDoc} */
+    @Before
     @Override public void setUp() throws Exception {
         
MvccFeatureChecker.failIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE);
 
@@ -103,6 +109,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testRemove() throws Exception {
         IgniteCache<Object, Object> near = jcache();
 
@@ -131,6 +138,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testReadThrough() throws Exception {
         IgniteCache<Integer, String> near = jcache();
 
@@ -160,6 +168,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testOptimisticTxWriteThrough() throws Exception {
         IgniteCache<Object, Object> near = jcache();
         GridCacheAdapter<Integer, String> dht = dht();
@@ -192,6 +201,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testSingleLockPut() throws Exception {
         IgniteCache<Integer, String> near = jcache();
 
@@ -214,6 +224,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testSingleLock() throws Exception {
         IgniteCache<Integer, String> near = jcache();
 
@@ -245,6 +256,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testSingleLockReentry() throws Exception {
         IgniteCache<Integer, String> near = jcache();
 
@@ -289,6 +301,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGet() throws Exception {
         IgniteCache<Object, Object> cache = jcache();
 
@@ -308,6 +321,7 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
     }
 
     /** @throws Exception If failed. */
+    @Test
     public void testTransactionSingleGetRemove() throws Exception {
         IgniteCache<Object, Object> cache = jcache();
 
@@ -393,4 +407,4 @@ public class GridCacheNearOneNodeSelfTest extends 
GridCommonAbstractTest {
             map.remove(key);
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
index e1ec15b..103abdd 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyMultiNodeFullApiSelfTest.java
@@ -50,6 +50,9 @@ import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.lang.IgnitePredicate;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.transactions.Transaction;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 import static org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_LOCKED;
@@ -58,6 +61,7 @@ import static 
org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_UNLOCKED;
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class GridCacheNearOnlyMultiNodeFullApiSelfTest extends 
GridCachePartitionedMultiNodeFullApiSelfTest {
     /** */
     private static AtomicInteger cnt;
@@ -175,6 +179,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testSize() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
 
@@ -204,6 +209,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testLoadAll() throws Exception {
         // Not needed for near-only cache.
     }
@@ -211,6 +217,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReaderTtlTx() throws Exception {
         // IgniteProcessProxy#transactions is not implemented.
         if (isMultiJvm() || !txShouldBeUsed())
@@ -222,6 +229,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReaderTtlNoTx() throws Exception {
         checkReaderTtl(false);
     }
@@ -431,6 +439,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testClear() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
         IgniteCache<String, Integer> primary = fullCache();
@@ -483,6 +492,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
     }
 
     /** {@inheritDoc} */
+    @Test
     @Override public void testLocalClearKeys() throws Exception {
         IgniteCache<String, Integer> nearCache = jcache();
         IgniteCache<String, Integer> primary = fullCache();
@@ -550,6 +560,7 @@ public class GridCacheNearOnlyMultiNodeFullApiSelfTest 
extends GridCachePartitio
 
     /** {@inheritDoc} */
     @SuppressWarnings("BusyWait")
+    @Test
     @Override public void testLockUnlock() throws Exception {
         if (lockingEnabled()) {
             final CountDownLatch lockCnt = new CountDownLatch(1);

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlySelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlySelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlySelfTest.java
index bf8c1ca..ae94888 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlySelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlySelfTest.java
@@ -22,6 +22,9 @@ import org.apache.ignite.cache.CacheAtomicityMode;
 import org.apache.ignite.cache.CacheMode;
 import org.apache.ignite.cache.CachePeekMode;
 import 
org.apache.ignite.internal.processors.cache.distributed.GridCacheClientModesAbstractSelfTest;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -32,10 +35,12 @@ import static org.apache.ignite.cache.CacheMode.REPLICATED;
  * Near only self test.
  */
 @SuppressWarnings("RedundantMethodOverride")
+@RunWith(JUnit4.class)
 public abstract class GridCacheNearOnlySelfTest extends 
GridCacheClientModesAbstractSelfTest {
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testUpdateNearOnlyReader() throws Exception {
         IgniteCache<Object, Object> dhtCache = dhtCache();
 
@@ -114,4 +119,4 @@ public abstract class GridCacheNearOnlySelfTest extends 
GridCacheClientModesAbst
             return TRANSACTIONAL;
         }
     }
-}
\ No newline at end of file
+}

Reply via email to