http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/GridDataStreamerImplSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/GridDataStreamerImplSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/GridDataStreamerImplSelfTest.java
index 1496792..82dc291 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/GridDataStreamerImplSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/GridDataStreamerImplSelfTest.java
@@ -41,6 +41,9 @@ import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 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.CacheMode.PARTITIONED;
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
@@ -48,6 +51,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Tests for {@code IgniteDataStreamerImpl}.
  */
+@RunWith(JUnit4.class)
 public class GridDataStreamerImplSelfTest extends GridCommonAbstractTest {
     /** IP finder. */
     private static final TcpDiscoveryIpFinder IP_FINDER = new 
TcpDiscoveryVmIpFinder(true);
@@ -100,6 +104,7 @@ public class GridDataStreamerImplSelfTest extends 
GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddDataFromMap() throws Exception {
         try {
             binaries = false;
@@ -148,6 +153,7 @@ public class GridDataStreamerImplSelfTest extends 
GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddMissingBinary() throws Exception {
         try {
             binaries = true;
@@ -183,6 +189,7 @@ public class GridDataStreamerImplSelfTest extends 
GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddBinaryDataFromMap() throws Exception {
         try {
             binaries = true;
@@ -242,6 +249,7 @@ public class GridDataStreamerImplSelfTest extends 
GridCommonAbstractTest {
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddBinaryCreatedWithBuilder() throws Exception {
         try {
             binaries = true;

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/context/IgniteCacheAbstractExecutionContextTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/context/IgniteCacheAbstractExecutionContextTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/context/IgniteCacheAbstractExecutionContextTest.java
index 10a5912..2f96c9f 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/context/IgniteCacheAbstractExecutionContextTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/context/IgniteCacheAbstractExecutionContextTest.java
@@ -25,10 +25,14 @@ import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.processors.cache.IgniteCacheAbstractTest;
 import org.apache.ignite.testframework.GridTestExternalClassLoader;
 import org.apache.ignite.testframework.config.GridTestProperties;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  *
  */
+@RunWith(JUnit4.class)
 public abstract class IgniteCacheAbstractExecutionContextTest extends 
IgniteCacheAbstractTest {
     /** */
     public static final String TEST_VALUE = 
"org.apache.ignite.tests.p2p.CacheDeploymentTestValue";
@@ -62,6 +66,7 @@ public abstract class IgniteCacheAbstractExecutionContextTest 
extends IgniteCach
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testUsersClassLoader() throws Exception {
         UsersClassLoader testClassLdr = 
(UsersClassLoader)grid(0).configuration().getClassLoader();
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractDataStructuresFailoverSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractDataStructuresFailoverSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractDataStructuresFailoverSelfTest.java
index 6e3a7bb..e408b97 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractDataStructuresFailoverSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractDataStructuresFailoverSelfTest.java
@@ -69,6 +69,9 @@ import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
 import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
 import org.apache.ignite.testframework.GridTestUtils;
+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.testframework.GridTestUtils.waitForCondition;
@@ -76,6 +79,7 @@ import static 
org.apache.ignite.testframework.GridTestUtils.waitForCondition;
 /**
  * Failover tests for cache data structures.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheAbstractDataStructuresFailoverSelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     private static final long TEST_TIMEOUT = 3 * 60 * 1000;
@@ -171,6 +175,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicLongFailsWhenServersLeft() throws Exception {
         client = true;
 
@@ -201,6 +206,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicLongTopologyChange() throws Exception {
         try (IgniteAtomicLong atomic = grid(0).atomicLong(STRUCTURE_NAME, 10, 
true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -218,6 +224,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicLongConstantTopologyChange() throws Exception {
         doTestAtomicLong(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -225,6 +232,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicLongConstantMultipleTopologyChange() throws 
Exception {
         doTestAtomicLong(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -263,6 +271,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicReferenceTopologyChange() throws Exception {
         try (IgniteAtomicReference atomic = 
grid(0).atomicReference(STRUCTURE_NAME, 10, true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -280,6 +289,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicReferenceConstantTopologyChange() throws Exception {
         doTestAtomicReference(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -287,6 +297,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicReferenceConstantMultipleTopologyChange() throws 
Exception {
         
doTestAtomicReference(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -325,6 +336,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicStampedTopologyChange() throws Exception {
         try (IgniteAtomicStamped atomic = 
grid(0).atomicStamped(STRUCTURE_NAME, 10, 10, true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -348,6 +360,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicStampedConstantTopologyChange() throws Exception {
         doTestAtomicStamped(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -355,6 +368,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicStampedConstantMultipleTopologyChange() throws 
Exception {
         
doTestAtomicStamped(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -405,6 +419,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCountDownLatchTopologyChange() throws Exception {
         try (IgniteCountDownLatch latch = 
grid(0).countDownLatch(STRUCTURE_NAME, 20, true, true)) {
             try {
@@ -427,6 +442,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreFailoverSafe() throws Exception {
         try (final IgniteSemaphore semaphore = 
grid(0).semaphore(STRUCTURE_NAME, 20, true, true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -450,6 +466,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreNonFailoverSafe() throws Exception {
         try (IgniteSemaphore sem = grid(0).semaphore(STRUCTURE_NAME, 20, 
false, true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -481,6 +498,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseSetInInterruptedThread() throws Exception {
         doCloseByInterruptedThread(grid(0).set(STRUCTURE_NAME, new 
CollectionConfiguration()));
     }
@@ -488,6 +506,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseQueueInInterruptedThread() throws Exception {
         doCloseByInterruptedThread(grid(0).queue(STRUCTURE_NAME, 0, new 
CollectionConfiguration()));
     }
@@ -495,6 +514,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseAtomicLongInInterruptedThread() throws Exception {
         doCloseByInterruptedThread(grid(0).atomicLong(STRUCTURE_NAME, 10, 
true));
     }
@@ -502,6 +522,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseAtomicReferenceInInterruptedThread() throws 
Exception {
         doCloseByInterruptedThread(grid(0).atomicReference(STRUCTURE_NAME, 10, 
true));
     }
@@ -509,6 +530,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseCountDownLatchInInterruptedThread() throws 
Exception {
         IgniteCountDownLatch latch = grid(0).countDownLatch(STRUCTURE_NAME, 1, 
true, true);
         latch.countDown();
@@ -519,6 +541,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseAtomicStampedInInterruptedThread() throws 
Exception {
         doCloseByInterruptedThread(grid(0).atomicStamped(STRUCTURE_NAME, 10, 
10,true));
     }
@@ -526,6 +549,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCanCloseSemaphoreInInterruptedThread() throws Exception {
         doCloseByInterruptedThread(grid(0).semaphore(STRUCTURE_NAME, 1, true, 
true));
     }
@@ -553,6 +577,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreSingleNodeFailure() throws Exception {
         final Ignite i1 = grid(0);
 
@@ -606,6 +631,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreConstantTopologyChangeFailoverSafe() throws 
Exception {
         doTestSemaphore(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), true);
     }
@@ -613,6 +639,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreConstantTopologyChangeNonFailoverSafe() throws 
Exception {
         doTestSemaphore(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), false);
     }
@@ -620,6 +647,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreMultipleTopologyChangeFailoverSafe() throws 
Exception {
         doTestSemaphore(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), 
true);
     }
@@ -627,6 +655,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSemaphoreMultipleTopologyChangeNonFailoverSafe() throws 
Exception {
         doTestSemaphore(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), 
false);
     }
@@ -705,6 +734,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReentrantLockFailsWhenServersLeft() throws Exception {
         testReentrantLockFailsWhenServersLeft(false);
     }
@@ -712,6 +742,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFairReentrantLockFailsWhenServersLeft() throws Exception {
         testReentrantLockFailsWhenServersLeft(true);
     }
@@ -785,6 +816,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReentrantLockConstantTopologyChangeFailoverSafe() throws 
Exception {
         doTestReentrantLock(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), true, false);
     }
@@ -792,6 +824,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReentrantLockConstantMultipleTopologyChangeFailoverSafe() 
throws Exception {
         
doTestReentrantLock(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), true, 
false);
     }
@@ -799,6 +832,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReentrantLockConstantTopologyChangeNonFailoverSafe() 
throws Exception {
         doTestReentrantLock(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), false, false);
     }
@@ -806,6 +840,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void 
testReentrantLockConstantMultipleTopologyChangeNonFailoverSafe() throws 
Exception {
         
doTestReentrantLock(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), false, 
false);
     }
@@ -813,6 +848,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFairReentrantLockConstantTopologyChangeFailoverSafe() 
throws Exception {
         doTestReentrantLock(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), true, true);
     }
@@ -820,6 +856,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void 
testFairReentrantLockConstantMultipleTopologyChangeFailoverSafe() throws 
Exception {
         
doTestReentrantLock(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), true, 
true);
     }
@@ -827,6 +864,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFairReentrantLockConstantTopologyChangeNonFailoverSafe() 
throws Exception {
         doTestReentrantLock(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), false, true);
     }
@@ -834,6 +872,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void 
testFairReentrantLockConstantMultipleTopologyChangeNonFailoverSafe() throws 
Exception {
         
doTestReentrantLock(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT), false, 
true);
     }
@@ -916,6 +955,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCountDownLatchConstantTopologyChange() throws Exception {
         doTestCountDownLatch(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -923,6 +963,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCountDownLatchConstantMultipleTopologyChange() throws 
Exception {
         
doTestCountDownLatch(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -966,6 +1007,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFifoQueueTopologyChange() throws Exception {
         try {
             grid(0).queue(STRUCTURE_NAME, 0, config(false)).put(10);
@@ -988,6 +1030,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testQueueTopologyChange() throws Exception {
         ConstantTopologyChangeWorker topWorker = new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT);
 
@@ -1042,6 +1085,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testQueueConstantTopologyChange() throws Exception {
         int topChangeThreads = collectionCacheMode() == CacheMode.PARTITIONED 
? 1 : TOP_CHANGE_THREAD_CNT;
 
@@ -1051,6 +1095,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testQueueConstantMultipleTopologyChange() throws Exception {
         int topChangeThreads = collectionCacheMode() == CacheMode.PARTITIONED 
? 1 : TOP_CHANGE_THREAD_CNT;
 
@@ -1121,6 +1166,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicSequenceInitialization() throws Exception {
         checkAtomicSequenceInitialization(false);
     }
@@ -1128,6 +1174,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicSequenceInitializationOnStableNodes() throws 
Exception {
         checkAtomicSequenceInitialization(true);
     }
@@ -1211,6 +1258,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicSequenceTopologyChange() throws Exception {
         try (IgniteAtomicSequence s = grid(0).atomicSequence(STRUCTURE_NAME, 
10, true)) {
             Ignite g = startGrid(NEW_IGNITE_INSTANCE_NAME);
@@ -1226,6 +1274,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicSequenceConstantTopologyChange() throws Exception {
         doTestAtomicSequence(new 
ConstantTopologyChangeWorker(TOP_CHANGE_THREAD_CNT, true));
     }
@@ -1233,6 +1282,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicSequenceConstantMultipleTopologyChange() throws 
Exception {
         
doTestAtomicSequence(multipleTopologyChangeWorker(TOP_CHANGE_THREAD_CNT));
     }
@@ -1272,6 +1322,7 @@ public abstract class 
GridCacheAbstractDataStructuresFailoverSelfTest extends Ig
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testUncommitedTxLeave() throws Exception {
         final int val = 10;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractQueueFailoverDataConsistencySelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractQueueFailoverDataConsistencySelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractQueueFailoverDataConsistencySelfTest.java
index 5b3d201..1cf1b11 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractQueueFailoverDataConsistencySelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAbstractQueueFailoverDataConsistencySelfTest.java
@@ -37,6 +37,9 @@ import 
org.apache.ignite.internal.processors.cache.GridCacheContext;
 import 
org.apache.ignite.internal.processors.datastructures.GridCacheQueueHeaderKey;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.testframework.GridTestUtils;
+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.PARTITIONED;
@@ -44,6 +47,7 @@ import static org.apache.ignite.cache.CacheMode.PARTITIONED;
 /**
  * Queue failover test.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheAbstractQueueFailoverDataConsistencySelfTest 
extends IgniteCollectionAbstractTest {
     /** */
     private static final String QUEUE_NAME = "FailoverQueueTest";
@@ -104,6 +108,7 @@ public abstract class 
GridCacheAbstractQueueFailoverDataConsistencySelfTest exte
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddFailover() throws Exception {
         testAddFailover(false);
     }
@@ -111,6 +116,7 @@ public abstract class 
GridCacheAbstractQueueFailoverDataConsistencySelfTest exte
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddFailoverCollocated() throws Exception {
         testAddFailover(true);
     }
@@ -199,6 +205,7 @@ public abstract class 
GridCacheAbstractQueueFailoverDataConsistencySelfTest exte
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPollFailover() throws Exception {
         testPollFailover(false);
     }
@@ -206,6 +213,7 @@ public abstract class 
GridCacheAbstractQueueFailoverDataConsistencySelfTest exte
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPollFailoverCollocated() throws Exception {
         testPollFailover(true);
     }
@@ -380,4 +388,4 @@ public abstract class 
GridCacheAbstractQueueFailoverDataConsistencySelfTest exte
 
         return -1;
     }
-}
\ 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/datastructures/GridCacheAtomicReferenceApiSelfAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceApiSelfAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceApiSelfAbstractTest.java
index 015d154..a4d4094 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceApiSelfAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceApiSelfAbstractTest.java
@@ -25,6 +25,9 @@ import org.apache.ignite.IgniteException;
 import org.apache.ignite.configuration.AtomicConfiguration;
 import org.apache.ignite.configuration.CacheConfiguration;
 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.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
@@ -32,6 +35,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Basic tests for atomic reference.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheAtomicReferenceApiSelfAbstractTest extends 
IgniteAtomicsAbstractTest {
     /** {@inheritDoc} */
     @Override protected int gridCount() {
@@ -43,6 +47,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPrepareAtomicReference() throws Exception {
         /* Name of first atomic. */
         String atomicName1 = UUID.randomUUID().toString();
@@ -81,6 +86,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testSetAndGet() throws Exception {
         String atomicName = UUID.randomUUID().toString();
 
@@ -100,6 +106,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testCompareAndSetSimpleValue() throws Exception {
         String atomicName = UUID.randomUUID().toString();
 
@@ -123,6 +130,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testCompareAndSetNullValue() throws Exception {
         String atomicName = UUID.randomUUID().toString();
 
@@ -142,6 +150,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testIsolation() throws Exception {
         Ignite ignite = grid(0);
 
@@ -192,6 +201,7 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMultipleStructuresInDifferentGroups() throws Exception {
         Ignite ignite = grid(0);
 
@@ -253,4 +263,4 @@ public abstract class 
GridCacheAtomicReferenceApiSelfAbstractTest extends Ignite
         assertNotNull(ignite.atomicReference("ref4", cfg, "d", false));
         assertNotNull(ignite.atomicReference("ref6", cfg, "f", false));
     }
-}
\ 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/datastructures/GridCacheAtomicReferenceMultiNodeAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceMultiNodeAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceMultiNodeAbstractTest.java
index 8331454..b6c88a6 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceMultiNodeAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicReferenceMultiNodeAbstractTest.java
@@ -22,10 +22,14 @@ import org.apache.ignite.Ignite;
 import org.apache.ignite.IgniteAtomicReference;
 import org.apache.ignite.IgniteAtomicStamped;
 import org.apache.ignite.lang.IgniteCallable;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * AtomicReference and AtomicStamped multi node tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheAtomicReferenceMultiNodeAbstractTest extends 
IgniteAtomicsAbstractTest {
     /** */
     protected static final int GRID_CNT = 4;
@@ -40,6 +44,7 @@ public abstract class 
GridCacheAtomicReferenceMultiNodeAbstractTest extends Igni
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicReference() throws Exception {
         // Get random name of reference.
         final String refName = UUID.randomUUID().toString();
@@ -96,6 +101,7 @@ public abstract class 
GridCacheAtomicReferenceMultiNodeAbstractTest extends Igni
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAtomicStamped() throws Exception {
         // Get random name of stamped.
         final String stampedName = UUID.randomUUID().toString();
@@ -153,4 +159,4 @@ public abstract class 
GridCacheAtomicReferenceMultiNodeAbstractTest extends Igni
             }
         });
     }
-}
\ 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/datastructures/GridCacheAtomicStampedApiSelfAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicStampedApiSelfAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicStampedApiSelfAbstractTest.java
index 9629e8b..f5e93ae 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicStampedApiSelfAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheAtomicStampedApiSelfAbstractTest.java
@@ -25,6 +25,9 @@ import org.apache.ignite.IgniteException;
 import org.apache.ignite.configuration.AtomicConfiguration;
 import org.apache.ignite.configuration.CacheConfiguration;
 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.CacheAtomicityMode.TRANSACTIONAL;
 import static org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
@@ -32,6 +35,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Basic tests for atomic stamped.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheAtomicStampedApiSelfAbstractTest extends 
IgniteAtomicsAbstractTest {
     /** {@inheritDoc} */
     @Override protected int gridCount() {
@@ -43,6 +47,7 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPrepareAtomicStamped() throws Exception {
         /** Name of first atomic. */
         String atomicName1 = UUID.randomUUID().toString();
@@ -81,6 +86,7 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testSetAndGet() throws Exception {
         String atomicName = UUID.randomUUID().toString();
 
@@ -105,6 +111,7 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testCompareAndSetSimpleValue() throws Exception {
         String atomicName = UUID.randomUUID().toString();
 
@@ -132,6 +139,7 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIsolation() throws Exception {
         Ignite ignite = grid(0);
 
@@ -186,6 +194,7 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMultipleStructuresInDifferentGroups() throws Exception {
         Ignite ignite = grid(0);
 
@@ -226,4 +235,4 @@ public abstract class 
GridCacheAtomicStampedApiSelfAbstractTest extends IgniteAt
         assertNotNull(ignite.atomicStamped("atomic1", "a", 1, false));
         assertNotNull(ignite.atomicStamped("atomic3", cfg, "c", 3, false));
     }
-}
\ 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/datastructures/GridCacheQueueApiSelfAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueApiSelfAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueApiSelfAbstractTest.java
index ef97c91..d25f405 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueApiSelfAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueApiSelfAbstractTest.java
@@ -43,6 +43,9 @@ import org.apache.ignite.lang.IgniteRunnable;
 import org.apache.ignite.resources.IgniteInstanceResource;
 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.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -51,6 +54,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Queue basic tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheQueueApiSelfAbstractTest extends 
IgniteCollectionAbstractTest {
     /** */
     private static final int QUEUE_CAPACITY = 3;
@@ -68,6 +72,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPrepareQueue() throws Exception {
         // Random sequence names.
         String queueName1 = UUID.randomUUID().toString();
@@ -99,6 +104,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -117,6 +123,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddDeleteUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -137,6 +144,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testCollectionMethods() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -213,6 +221,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddPollUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -235,6 +244,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testAddPeekUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -258,6 +268,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIterator() throws Exception {
         checkIterator(false);
     }
@@ -265,6 +276,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorCollocated() throws Exception {
         checkIterator(true);
     }
@@ -328,6 +340,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutGetUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -350,6 +363,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutGetMultithreadUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -378,6 +392,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutGetMultithreadBounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -405,6 +420,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testQueueRemoveMultithreadBounded() throws Exception {
         // Random queue name.
         final String queueName = UUID.randomUUID().toString();
@@ -485,6 +501,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutRemoveUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -510,6 +527,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutRemoveMultiThreadedUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -544,6 +562,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutRemovePeekPollUnbounded() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -575,6 +594,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testRemovePeek() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -608,6 +628,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testReuseCache() throws Exception {
         CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -621,6 +642,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNotReuseCache() throws Exception {
         CollectionConfiguration colCfg1 = collectionConfiguration();
 
@@ -641,6 +663,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testFilterNode() throws Exception {
         CollectionConfiguration colCfg1 = collectionConfiguration();
 
@@ -667,6 +690,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSystemCache() throws Exception {
         CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -687,6 +711,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAffinityRun() throws Exception {
         final CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -735,6 +760,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAffinityCall() throws Exception {
         final CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -788,6 +814,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testIsolation() throws Exception {
         Ignite ignite = grid(0);
 
@@ -841,6 +868,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheReuse() throws Exception {
         Ignite ignite = grid(0);
 
@@ -877,6 +905,7 @@ public abstract class GridCacheQueueApiSelfAbstractTest 
extends IgniteCollection
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMultipleStructuresInDifferentGroups() throws Exception {
         Ignite ignite = grid(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueCleanupSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueCleanupSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueCleanupSelfTest.java
index d33a379..54a933d 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueCleanupSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueCleanupSelfTest.java
@@ -33,6 +33,9 @@ import 
org.apache.ignite.internal.processors.cache.GridCacheContext;
 import 
org.apache.ignite.internal.processors.datastructures.GridCacheQueueHeaderKey;
 import org.apache.ignite.internal.util.typedef.PAX;
 import org.apache.ignite.testframework.GridTestUtils;
+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;
@@ -40,6 +43,7 @@ import static org.apache.ignite.cache.CacheMode.PARTITIONED;
 /**
  * Tests cleanup of orphaned queue items.
  */
+@RunWith(JUnit4.class)
 public class GridCacheQueueCleanupSelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     private static final String QUEUE_NAME1 = "CleanupTestQueue1";
@@ -74,6 +78,7 @@ public class GridCacheQueueCleanupSelfTest extends 
IgniteCollectionAbstractTest
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCleanup() throws Exception {
         IgniteQueue<Integer> queue = grid(0).queue(QUEUE_NAME1, 0, 
config(false));
 
@@ -230,4 +235,4 @@ public class GridCacheQueueCleanupSelfTest extends 
IgniteCollectionAbstractTest
             }
         });
     }
-}
\ 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/datastructures/GridCacheQueueClientDisconnectTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueClientDisconnectTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueClientDisconnectTest.java
index dac3ff6..af11263 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueClientDisconnectTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueClientDisconnectTest.java
@@ -1,127 +1,132 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.internal.processors.cache.datastructures;
-
-import java.util.concurrent.CountDownLatch;
-import java.util.concurrent.TimeUnit;
-import org.apache.ignite.Ignite;
-import org.apache.ignite.IgniteClientDisconnectedException;
-import org.apache.ignite.IgniteQueue;
-import org.apache.ignite.cache.CacheAtomicityMode;
-import org.apache.ignite.configuration.CollectionConfiguration;
-import org.apache.ignite.configuration.IgniteConfiguration;
-import org.apache.ignite.internal.util.typedef.internal.U;
-import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
-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;
-
-/**
- *
- */
-public class GridCacheQueueClientDisconnectTest extends GridCommonAbstractTest 
{
-    /** */
-    private static final String IGNITE_QUEUE_NAME = 
"ignite-queue-client-reconnect-test";
-
-    /** */
-    private static TcpDiscoveryIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
-
-    /** */
-    private static final int FAILURE_DETECTION_TIMEOUT = 10_000;
-
-    /** */
-    private boolean clientMode;
-
-    /** {@inheritDoc} */
-    @Override protected IgniteConfiguration getConfiguration(String 
igniteInstanceName) throws Exception {
-        IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
-
-        TcpDiscoverySpi spi = new TcpDiscoverySpi();
-
-        spi.setIpFinder(ipFinder);
-
-        spi.setClientReconnectDisabled(false);
-
-        cfg.setDiscoverySpi(spi);
-
-        cfg.setFailureDetectionTimeout(FAILURE_DETECTION_TIMEOUT);
-        cfg.setClientFailureDetectionTimeout(FAILURE_DETECTION_TIMEOUT);
-
-        if (clientMode)
-            cfg.setClientMode(true);
-
-        return cfg;
-    }
-
-    /**
-     * @param cacheAtomicityMode Atomicity mode.
-     * @return Configuration.
-     */
-    private static CollectionConfiguration 
collectionConfiguration(CacheAtomicityMode cacheAtomicityMode) {
-        CollectionConfiguration colCfg = new CollectionConfiguration();
-
-        colCfg.setAtomicityMode(cacheAtomicityMode);
-
-        return colCfg;
-    }
-
-    /**
-     * @throws Exception If failed.
-     */
-    public void testClientDisconnect() throws Exception {
-        try {
-            Ignite server = startGrid(0);
-
-            clientMode = true;
-
-            Ignite client = startGrid(1);
-
-            awaitPartitionMapExchange();
-
-            final IgniteQueue queue = client.queue(
-                IGNITE_QUEUE_NAME, 0, 
collectionConfiguration(CacheAtomicityMode.ATOMIC));
-
-            final CountDownLatch latch = new CountDownLatch(1);
-
-            GridTestUtils.runAsync(new Runnable() {
-                @Override public void run() {
-                    try {
-                        Object value = queue.take();
-                    }
-                    catch (IgniteClientDisconnectedException icd) {
-                        latch.countDown();
-                    }
-                    catch (Exception e) {
-                    }
-                }
-            });
-
-            U.sleep(5000);
-
-            server.close();
-
-            boolean countReachedZero = latch.await(FAILURE_DETECTION_TIMEOUT * 
2, TimeUnit.MILLISECONDS);
-
-            assertTrue("IgniteClientDisconnectedException was not thrown", 
countReachedZero);
-        }
-        finally {
-            stopAllGrids();
-        }
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.internal.processors.cache.datastructures;
+
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+import org.apache.ignite.Ignite;
+import org.apache.ignite.IgniteClientDisconnectedException;
+import org.apache.ignite.IgniteQueue;
+import org.apache.ignite.cache.CacheAtomicityMode;
+import org.apache.ignite.configuration.CollectionConfiguration;
+import org.apache.ignite.configuration.IgniteConfiguration;
+import org.apache.ignite.internal.util.typedef.internal.U;
+import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
+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;
+
+/**
+ *
+ */
+@RunWith(JUnit4.class)
+public class GridCacheQueueClientDisconnectTest extends GridCommonAbstractTest 
{
+    /** */
+    private static final String IGNITE_QUEUE_NAME = 
"ignite-queue-client-reconnect-test";
+
+    /** */
+    private static TcpDiscoveryIpFinder ipFinder = new 
TcpDiscoveryVmIpFinder(true);
+
+    /** */
+    private static final int FAILURE_DETECTION_TIMEOUT = 10_000;
+
+    /** */
+    private boolean clientMode;
+
+    /** {@inheritDoc} */
+    @Override protected IgniteConfiguration getConfiguration(String 
igniteInstanceName) throws Exception {
+        IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
+
+        TcpDiscoverySpi spi = new TcpDiscoverySpi();
+
+        spi.setIpFinder(ipFinder);
+
+        spi.setClientReconnectDisabled(false);
+
+        cfg.setDiscoverySpi(spi);
+
+        cfg.setFailureDetectionTimeout(FAILURE_DETECTION_TIMEOUT);
+        cfg.setClientFailureDetectionTimeout(FAILURE_DETECTION_TIMEOUT);
+
+        if (clientMode)
+            cfg.setClientMode(true);
+
+        return cfg;
+    }
+
+    /**
+     * @param cacheAtomicityMode Atomicity mode.
+     * @return Configuration.
+     */
+    private static CollectionConfiguration 
collectionConfiguration(CacheAtomicityMode cacheAtomicityMode) {
+        CollectionConfiguration colCfg = new CollectionConfiguration();
+
+        colCfg.setAtomicityMode(cacheAtomicityMode);
+
+        return colCfg;
+    }
+
+    /**
+     * @throws Exception If failed.
+     */
+    @Test
+    public void testClientDisconnect() throws Exception {
+        try {
+            Ignite server = startGrid(0);
+
+            clientMode = true;
+
+            Ignite client = startGrid(1);
+
+            awaitPartitionMapExchange();
+
+            final IgniteQueue queue = client.queue(
+                IGNITE_QUEUE_NAME, 0, 
collectionConfiguration(CacheAtomicityMode.ATOMIC));
+
+            final CountDownLatch latch = new CountDownLatch(1);
+
+            GridTestUtils.runAsync(new Runnable() {
+                @Override public void run() {
+                    try {
+                        Object value = queue.take();
+                    }
+                    catch (IgniteClientDisconnectedException icd) {
+                        latch.countDown();
+                    }
+                    catch (Exception e) {
+                    }
+                }
+            });
+
+            U.sleep(5000);
+
+            server.close();
+
+            boolean countReachedZero = latch.await(FAILURE_DETECTION_TIMEOUT * 
2, TimeUnit.MILLISECONDS);
+
+            assertTrue("IgniteClientDisconnectedException was not thrown", 
countReachedZero);
+        }
+        finally {
+            stopAllGrids();
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueJoinedNodeSelfAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueJoinedNodeSelfAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueJoinedNodeSelfAbstractTest.java
index eb8c3c0..c5cbec7 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueJoinedNodeSelfAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueJoinedNodeSelfAbstractTest.java
@@ -36,11 +36,15 @@ import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
 import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
 import org.jetbrains.annotations.Nullable;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Test that joining node is able to take items from queue.
  * See GG-2311 for more information.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheQueueJoinedNodeSelfAbstractTest extends 
IgniteCollectionAbstractTest {
     /** */
     protected static final int GRID_CNT = 3;
@@ -59,6 +63,7 @@ public abstract class 
GridCacheQueueJoinedNodeSelfAbstractTest extends IgniteCol
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testTakeFromJoined() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -283,4 +288,4 @@ public abstract class 
GridCacheQueueJoinedNodeSelfAbstractTest extends IgniteCol
             return S.toString(TakeJob.class, this);
         }
     }
-}
\ 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/datastructures/GridCacheQueueMultiNodeAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeAbstractSelfTest.java
index 8f13cef..4e691dd 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeAbstractSelfTest.java
@@ -39,10 +39,14 @@ import org.apache.ignite.internal.util.typedef.internal.S;
 import org.apache.ignite.lang.IgniteCallable;
 import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.testframework.GridTestUtils;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Queue multi node tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheQueueMultiNodeAbstractSelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     private static final int GRID_CNT = 4;
@@ -110,6 +114,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPut() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -125,6 +130,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutPollCollocated() throws Exception {
         try {
             final String queueName = UUID.randomUUID().toString();
@@ -227,6 +233,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddAll() throws Exception {
         try {
             String queueName = UUID.randomUUID().toString();
@@ -255,6 +262,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testGet() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -278,6 +286,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPutTake() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -297,6 +306,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddMultinode() throws Exception {
         testAddMultinode(true);
 
@@ -360,6 +370,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddPollMultinode() throws Exception {
         testAddPollMultinode(true);
 
@@ -464,6 +475,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIterator() throws Exception {
         final String queueName = UUID.randomUUID().toString();
 
@@ -512,6 +524,7 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSerialization() throws Exception {
         // Random queue name.
         String queueName = UUID.randomUUID().toString();
@@ -775,4 +788,4 @@ public abstract class 
GridCacheQueueMultiNodeAbstractSelfTest extends IgniteColl
             return S.toString(PutTakeJob.class, this);
         }
     }
-}
\ 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/datastructures/GridCacheQueueMultiNodeConsistencySelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeConsistencySelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeConsistencySelfTest.java
index a48c3e2..8d79ca3 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeConsistencySelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueMultiNodeConsistencySelfTest.java
@@ -31,6 +31,9 @@ import org.apache.ignite.internal.IgniteKernal;
 import org.apache.ignite.internal.processors.cache.GridCacheContext;
 import org.apache.ignite.lang.IgniteCallable;
 import org.apache.ignite.resources.IgniteInstanceResource;
+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;
@@ -40,6 +43,7 @@ import static 
org.apache.ignite.internal.processors.cache.datastructures.GridCac
 /**
  * Consistency test for cache queue in multi node environment.
  */
+@RunWith(JUnit4.class)
 public class GridCacheQueueMultiNodeConsistencySelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     protected static final int GRID_CNT = 3;
@@ -93,6 +97,7 @@ public class GridCacheQueueMultiNodeConsistencySelfTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorIfBackupDisabled() throws Exception {
         backups = 0;
 
@@ -102,6 +107,7 @@ public class GridCacheQueueMultiNodeConsistencySelfTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void 
testIteratorIfNoPreloadingAndBackupDisabledAndRepartitionForced() throws 
Exception {
         backups = 0;
 
@@ -113,6 +119,7 @@ public class GridCacheQueueMultiNodeConsistencySelfTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorIfBackupEnabled() throws Exception {
         backups = 1;
 
@@ -122,6 +129,7 @@ public class GridCacheQueueMultiNodeConsistencySelfTest 
extends IgniteCollection
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorIfBackupEnabledAndOneNodeIsKilled() throws 
Exception {
         backups = 1;
 
@@ -203,4 +211,4 @@ public class GridCacheQueueMultiNodeConsistencySelfTest 
extends IgniteCollection
 
         queue0.close();
     }
-}
\ 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/datastructures/GridCacheQueueRotativeMultiNodeAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueRotativeMultiNodeAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueRotativeMultiNodeAbstractTest.java
index d10a020..b816efd 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueRotativeMultiNodeAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheQueueRotativeMultiNodeAbstractTest.java
@@ -32,10 +32,14 @@ import org.apache.ignite.internal.util.typedef.internal.S;
 import org.apache.ignite.lang.IgniteCallable;
 import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.testframework.GridTestUtils;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Queue multi node tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheQueueRotativeMultiNodeAbstractTest extends 
IgniteCollectionAbstractTest {
     /** */
     protected static final int GRID_CNT = 4;
@@ -79,6 +83,7 @@ public abstract class 
GridCacheQueueRotativeMultiNodeAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutRotativeNodes() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -108,6 +113,7 @@ public abstract class 
GridCacheQueueRotativeMultiNodeAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testPutTakeRotativeNodes() throws Exception {
         String queueName = UUID.randomUUID().toString();
 
@@ -137,6 +143,7 @@ public abstract class 
GridCacheQueueRotativeMultiNodeAbstractTest extends Ignite
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testTakeRemoveRotativeNodes() throws Exception {
         lthTake = new CountDownLatch(1);
 
@@ -378,4 +385,4 @@ public abstract class 
GridCacheQueueRotativeMultiNodeAbstractTest extends Ignite
             return S.toString(RemoveQueueJob.class, this);
         }
     }
-}
\ 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/datastructures/GridCacheSequenceApiSelfAbstractTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceApiSelfAbstractTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceApiSelfAbstractTest.java
index 81292c7..0924d4c 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceApiSelfAbstractTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceApiSelfAbstractTest.java
@@ -38,6 +38,9 @@ import org.apache.ignite.internal.util.typedef.G;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.transactions.Transaction;
 import org.jetbrains.annotations.Nullable;
+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.transactions.TransactionConcurrency.PESSIMISTIC;
@@ -46,6 +49,7 @@ import static 
org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
 /**
  * Cache sequence basic tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheSequenceApiSelfAbstractTest extends 
IgniteAtomicsAbstractTest {
     /**  */
     protected static final int BATCH_SIZE = 3;
@@ -145,6 +149,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testPrepareSequence() throws Exception {
         // Random sequence names.
         String locSeqName1 = UUID.randomUUID().toString();
@@ -169,6 +174,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddWrongValue() throws Exception {
         for (IgniteAtomicSequence seq : seqArr) {
             try {
@@ -194,6 +200,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testGetAndIncrement() throws Exception {
         for (int i = 0; i < MAX_LOOPS_NUM; i++) {
             for (IgniteAtomicSequence seq : seqArr)
@@ -207,6 +214,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIncrementAndGet() throws Exception {
         for (int i = 0; i < MAX_LOOPS_NUM; i++) {
             for (IgniteAtomicSequence seq : seqArr)
@@ -220,6 +228,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAddAndGet() throws Exception {
         for (int i = 1; i < MAX_LOOPS_NUM; i++) {
             for (IgniteAtomicSequence seq : seqArr)
@@ -233,6 +242,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testGetAndAdd() throws Exception {
         for (int i = 1; i < MAX_LOOPS_NUM; i++) {
             for (IgniteAtomicSequence seq : seqArr)
@@ -246,6 +256,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testGetAndAddInTx() throws Exception {
         try (Transaction tx = grid().transactions().txStart(PESSIMISTIC, 
REPEATABLE_READ)) {
             for (int i = 1; i < MAX_LOOPS_NUM; i++) {
@@ -261,6 +272,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSequenceIntegrity0() throws Exception {
         // Random sequence names.
         String locSeqName1 = UUID.randomUUID().toString();
@@ -294,6 +306,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSequenceIntegrity1() throws Exception {
         sequenceIntegrity(1, 0);
         sequenceIntegrity(7, -1500);
@@ -303,6 +316,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testMultiThreadedSequenceIntegrity() throws Exception {
         multiThreadedSequenceIntegrity(1, 0);
         multiThreadedSequenceIntegrity(7, -1500);
@@ -312,6 +326,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testRemove() throws Exception {
         String locSeqName = UUID.randomUUID().toString();
 
@@ -334,6 +349,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCacheSets() throws Exception {
         // Make new atomic sequence in cache.
         IgniteAtomicSequence seq = 
grid().atomicSequence(UUID.randomUUID().toString(), 0, true);
@@ -363,6 +379,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMultipleStructuresInDifferentGroups() throws Exception {
         Ignite ignite = grid(0);
 
@@ -404,6 +421,7 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testSequenceReserveSizeFromExplicitConfiguration() throws 
Exception {
         Ignite ignite = grid(0);
 
@@ -631,4 +649,4 @@ public abstract class GridCacheSequenceApiSelfAbstractTest 
extends IgniteAtomics
 
         assertNull(grid().atomicSequence(name, 0, false));
     }
-}
\ 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/datastructures/GridCacheSequenceMultiNodeAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceMultiNodeAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceMultiNodeAbstractSelfTest.java
index 7747d1b..48d36b5 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceMultiNodeAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSequenceMultiNodeAbstractSelfTest.java
@@ -34,10 +34,14 @@ import org.apache.ignite.internal.util.typedef.internal.S;
 import org.apache.ignite.lang.IgniteCallable;
 import org.apache.ignite.resources.IgniteInstanceResource;
 import org.apache.ignite.resources.LoggerResource;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Sequence multi node tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheSequenceMultiNodeAbstractSelfTest extends 
IgniteAtomicsAbstractTest
     implements Externalizable {
     /** */
@@ -59,6 +63,7 @@ public abstract class 
GridCacheSequenceMultiNodeAbstractSelfTest extends IgniteA
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testIncrementAndGet() throws Exception {
         Collection<Long> res = new HashSet<>();
 
@@ -94,6 +99,7 @@ public abstract class 
GridCacheSequenceMultiNodeAbstractSelfTest extends IgniteA
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testGetAndIncrement() throws Exception {
         Collection<Long> res = new HashSet<>();
 
@@ -129,6 +135,7 @@ public abstract class 
GridCacheSequenceMultiNodeAbstractSelfTest extends IgniteA
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMarshalling() throws Exception {
         String seqName = UUID.randomUUID().toString();
 
@@ -266,4 +273,4 @@ public abstract class 
GridCacheSequenceMultiNodeAbstractSelfTest extends IgniteA
             return S.toString(GetAndIncrementJob.class, this);
         }
     }
-}
\ 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/datastructures/GridCacheSetAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetAbstractSelfTest.java
index bb85008..bb1b8d5 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetAbstractSelfTest.java
@@ -53,6 +53,9 @@ import org.apache.ignite.lang.IgniteRunnable;
 import org.apache.ignite.resources.IgniteInstanceResource;
 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.CacheAtomicityMode.ATOMIC;
 import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -63,6 +66,7 @@ import static 
org.apache.ignite.cache.CacheWriteSynchronizationMode.FULL_SYNC;
 /**
  * Cache set tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     protected static final String SET_NAME = "testSet";
@@ -167,6 +171,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCreateRemove() throws Exception {
         testCreateRemove(false);
     }
@@ -174,6 +179,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCreateRemoveCollocated() throws Exception {
         testCreateRemove(true);
     }
@@ -243,6 +249,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testApi() throws Exception {
         testApi(false);
     }
@@ -250,6 +257,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testApiCollocated() throws Exception {
         testApi(true);
     }
@@ -406,6 +414,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIterator() throws Exception {
         testIterator(false);
     }
@@ -413,6 +422,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorCollocated() throws Exception {
         testIterator(true);
     }
@@ -506,6 +516,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorClose() throws Exception {
         testIteratorClose(false);
     }
@@ -513,6 +524,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testIteratorCloseCollocated() throws Exception {
         testIteratorClose(true);
     }
@@ -591,6 +603,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNodeJoinsAndLeaves() throws Exception {
         if (collectionCacheMode() == LOCAL)
             return;
@@ -601,6 +614,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testNodeJoinsAndLeavesCollocated() throws Exception {
         if (collectionCacheMode() == LOCAL)
             return;
@@ -651,6 +665,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testMultithreaded() throws Exception {
         testMultithreaded(false);
     }
@@ -658,6 +673,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testMultithreadedCollocated() throws Exception {
         if (collectionCacheMode() != PARTITIONED)
             return;
@@ -737,6 +753,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCleanup() throws Exception {
         testCleanup(false);
     }
@@ -744,6 +761,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testCleanupCollocated() throws Exception {
         testCleanup(true);
     }
@@ -850,6 +868,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testSerialization() throws Exception {
         final IgniteSet<Integer> set = grid(0).set(SET_NAME, config(false));
 
@@ -877,6 +896,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAffinityRun() throws Exception {
         final CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -927,6 +947,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
     /**
      * @throws Exception If failed.
      */
+    @Test
     public void testAffinityCall() throws Exception {
         final CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -982,6 +1003,7 @@ public abstract class GridCacheSetAbstractSelfTest extends 
IgniteCollectionAbstr
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testIsolation() throws Exception {
         CollectionConfiguration colCfg = collectionConfiguration();
 
@@ -1027,6 +1049,7 @@ public abstract class GridCacheSetAbstractSelfTest 
extends IgniteCollectionAbstr
     /**
      * Test that non collocated sets are stored in a separated cache.
      */
+    @Test
     public void testCacheReuse()  {
         testCacheReuse(false);
     }
@@ -1034,6 +1057,7 @@ public abstract class GridCacheSetAbstractSelfTest 
extends IgniteCollectionAbstr
     /**
      * Test that collocated sets within the same group and compatible 
configurations are stored in the same cache.
      */
+    @Test
     public void testCacheReuseCollocated() {
         testCacheReuse(true);
     }
@@ -1081,6 +1105,7 @@ public abstract class GridCacheSetAbstractSelfTest 
extends IgniteCollectionAbstr
      *
      * @throws Exception If failed.
      */
+    @Test
     public void testMultipleStructuresInDifferentGroups() throws Exception {
         Ignite ignite = grid(0);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/f0544d46/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
index ce320bd..16c9363 100644
--- 
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
+++ 
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheSetFailoverAbstractSelfTest.java
@@ -36,12 +36,16 @@ import 
org.apache.ignite.internal.processors.datastructures.SetItemKey;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.lang.IgniteUuid;
 import org.apache.ignite.testframework.GridTestUtils;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import static org.apache.ignite.cache.CacheMode.PARTITIONED;
 
 /**
  * Set failover tests.
  */
+@RunWith(JUnit4.class)
 public abstract class GridCacheSetFailoverAbstractSelfTest extends 
IgniteCollectionAbstractTest {
     /** */
     private static final String SET_NAME = "testFailoverSet";
@@ -88,6 +92,7 @@ public abstract class GridCacheSetFailoverAbstractSelfTest 
extends IgniteCollect
      * @throws Exception If failed.
      */
     @SuppressWarnings("WhileLoopReplaceableByForEach")
+    @Test
     public void testNodeRestart() throws Exception {
         IgniteSet<Integer> set = grid(0).set(SET_NAME, config(false));
 

Reply via email to