IGNITE-8558 Provide an opportunity to stop grids and cancel tasks after execution...
authorRodion4ik <rodion.vlasov@mail.ru>
Wed, 13 Feb 2019 10:39:48 +0000 (13:39 +0300)
committerIvan Rakov <irakov@apache.org>
Wed, 13 Feb 2019 10:39:48 +0000 (13:39 +0300)
Signed-off-by: Ivan Rakov <irakov@apache.org>
59 files changed:
modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinAbstractDmlStatementSelfTest.java
modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinConnectionMvccEnabledSelfTest.java
modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinDataSourceSelfTest.java
modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinMetadataPrimaryKeysSelfTest.java
modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java
modules/core/src/test/java/org/apache/ignite/cache/store/GridCacheLoadOnlyStoreAdapterSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheEventWithTxLabelTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheGetsDistributionAbstractTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheEntryMemorySizeSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteDynamicCacheStartFailTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTxAbstractTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheAbstractDistributedByteArrayValuesSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheSystemTransactionsSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteMvccTxTimeoutAbstractTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteOptimisticTxSuspendResumeTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxCacheWriteSynchronizationModesMultithreadedTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxConcurrentRemoveObjectsTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxTimeoutAbstractTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheAbstractTransformWriteThroughSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/NearCacheSyncUpdateTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/NoneRebalanceModeSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/local/GridCacheLocalByteArrayValuesSelfTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractFeatureTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/MvccUnsupportedTxModesTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/AbstractWalDeltaConsistencyTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/AtomicOperationsInTxTest.java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxLabelTest.java
modules/core/src/test/java/org/apache/ignite/internal/stat/IoStatisticsMetricsLocalMXBeanImplSelfTest.java
modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/GridTcpCommunicationSpiConfigSelfTest.java
modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpiSkipMessageSendTest.java
modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/CacheQueryAfterDynamicCacheStartFailureTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheDynamicLoadOnClientTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/ComplexSecondaryKeyUnwrapSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/DynamicIndexAbstractSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/SqlTransactionCommandsWithMvccDisabledSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/SqlTransactionsCommandsWithMvccEnabledSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/SqlTransactionsSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlGroupConcatCollocatedTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlGroupConcatNotCollocatedTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlQueryParallelismTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/H2ResultSetIteratorNullifyOnEndSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/ExplainSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/twostep/AndOperationExtractPartitionSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/twostep/CreateTableWithDateKeySelfTest.java
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/twostep/InOperationExtractPartitionSelfTest.java
modules/indexing/src/test/java/org/apache/ignite/sqltests/BaseSqlTest.java
modules/ml/src/test/java/org/apache/ignite/ml/dataset/impl/cache/CacheBasedDatasetBuilderTest.java
modules/ml/src/test/java/org/apache/ignite/ml/dataset/impl/cache/util/ComputeUtilsTest.java
modules/ml/src/test/java/org/apache/ignite/ml/inference/builder/IgniteDistributedModelBuilderTest.java
modules/ml/src/test/java/org/apache/ignite/ml/nn/MLPTrainerIntegrationTest.java
modules/ml/src/test/java/org/apache/ignite/ml/nn/performance/MLPTrainerMnistIntegrationTest.java
modules/ml/src/test/java/org/apache/ignite/ml/selection/scoring/cursor/CacheBasedLabelPairCursorTest.java
modules/ml/src/test/java/org/apache/ignite/ml/selection/scoring/evaluator/EvaluatorTest.java
modules/ml/src/test/java/org/apache/ignite/ml/tree/DecisionTreeClassificationTrainerIntegrationTest.java
modules/ml/src/test/java/org/apache/ignite/ml/tree/performance/DecisionTreeMNISTIntegrationTest.java
modules/rest-http/src/test/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/RestSetupSimpleTest.java

index 8f000de..25f2014 100644 (file)
@@ -51,11 +51,6 @@ public abstract class JdbcThinAbstractDmlStatementSelfTest extends JdbcThinAbstr
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void beforeTest() throws Exception {
         ignite(0).getOrCreateCache(cacheConfig());
 
index d30e1f1..fa13ed7 100644 (file)
@@ -79,12 +79,6 @@ public class JdbcThinConnectionMvccEnabledSelfTest extends JdbcThinAbstractSelfT
         startGridsMultiThreaded(2);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
-
     /**
      * @throws Exception If failed.
      */
index 4e05031..7d15e17 100644 (file)
@@ -79,11 +79,6 @@ public class JdbcThinDataSourceSelfTest extends JdbcThinAbstractSelfTest {
         startGridsMultiThreaded(2);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /**
      * @throws Exception If failed.
      */
index f345dd6..6f94313 100644 (file)
@@ -147,11 +147,4 @@ public class JdbcThinMetadataPrimaryKeysSelfTest extends GridCommonAbstractTest
                 Arrays.asList(expPKFields), colNames);
         }
     }
-
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
 }
index 2c30dc6..067ea39 100644 (file)
@@ -190,13 +190,6 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
         execute("DELETE FROM \"Person\".Person");
 
index 9b1b638..f26cc49 100644 (file)
@@ -50,11 +50,6 @@ public class GridCacheLoadOnlyStoreAdapterSelfTest extends GridCommonAbstractTes
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
         grid(0).destroyCache(DEFAULT_CACHE_NAME);
 
index a39ae2e..1165d93 100644 (file)
@@ -130,13 +130,6 @@ public class CacheEventWithTxLabelTest extends GridCommonAbstractTest {
         Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10270", MvccFeatureChecker.forcedMvcc());
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        super.afterTestsStopped();
-
-        stopAllGrids();
-    }
-
     /**
      * Check all cases for passing transaction label in cash event.
      *
index 86ecf52..cf2ff1b 100644 (file)
@@ -76,13 +76,6 @@ public abstract class CacheGetsDistributionAbstractTest extends GridCommonAbstra
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void beforeTest() throws Exception {
         super.beforeTest();
 
index f3959c1..c6f74cb 100644 (file)
@@ -106,13 +106,6 @@ public class GridCacheEntryMemorySizeSelfTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
         grid(0).destroyCache(DEFAULT_CACHE_NAME);
 
index 888a458..206e1ac 100644 (file)
@@ -36,11 +36,4 @@ public class IgniteDynamicCacheStartFailTest extends IgniteAbstractDynamicCacheS
 
         awaitPartitionMapExchange();
     }
-
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
 }
index 93054ab..a6ca1b7 100644 (file)
@@ -100,13 +100,6 @@ abstract class IgniteTxAbstractTest extends GridCommonAbstractTest {
         startGridsMultiThreaded(gridCount());
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * @return Keys.
      */
index d1134c2..3b961f2 100644 (file)
@@ -122,10 +122,6 @@ public abstract class GridCacheAbstractDistributedByteArrayValuesSelfTest extend
     @Override protected void afterTestsStopped() throws Exception {
         caches = null;
         mvccCaches = null;
-
-        stopAllGrids();
-
-        super.afterTestsStopped();
     }
 
     /**
index 0d03f8b..3517d82 100644 (file)
@@ -56,13 +56,6 @@ public class IgniteCacheSystemTransactionsSelfTest extends GridCommonAbstractTes
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
         for (String cacheName : new String[] {DEFAULT_CACHE_NAME, CU.UTILITY_CACHE_NAME}) {
             IgniteKernal kernal = (IgniteKernal)ignite(0);
index 82253be..bc21f37 100644 (file)
@@ -55,13 +55,6 @@ public class IgniteMvccTxTimeoutAbstractTest extends GridCommonAbstractTest {
         startGridsMultiThreaded(GRID_COUNT, true);
     }
 
-    /**
-     * @throws Exception If failed.
-     */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /** {@inheritDoc} */
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         IgniteConfiguration c = super.getConfiguration(igniteInstanceName);
index cbf2445..f63f28a 100644 (file)
@@ -154,11 +154,6 @@ public class IgniteOptimisticTxSuspendResumeTest extends GridCommonAbstractTest
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids(true);
-    }
-
-    /** {@inheritDoc} */
     @Override protected void afterTest() throws Exception {
         for (CacheConfiguration ccfg : cacheConfigurations())
             ignite(0).destroyCache(ccfg.getName());
index cff41c6..829d9dc 100644 (file)
@@ -117,13 +117,6 @@ public class IgniteTxCacheWriteSynchronizationModesMultithreadedTest extends Gri
         Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-9470", MvccFeatureChecker.forcedMvcc());
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * @throws Exception If failed.
      */
index 42fcd1a..5a65e21 100644 (file)
@@ -69,8 +69,6 @@ public class IgniteTxConcurrentRemoveObjectsTest extends GridCommonAbstractTest
 
     /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
         System.setProperty(IGNITE_CACHE_REMOVED_ENTRIES_TTL, Long.toString(oldIgniteCacheRmvEntriesTtl));
 
         super.afterTestsStopped();
index c94e00b..0e2b038 100644 (file)
@@ -56,13 +56,6 @@ public class IgniteTxTimeoutAbstractTest extends GridCommonAbstractTest {
         startGridsMultiThreaded(GRID_COUNT);
     }
 
-    /**
-     * @throws Exception If failed.
-     */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /** {@inheritDoc} */
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         IgniteConfiguration c = super.getConfiguration(igniteInstanceName);
index 6653155..3669a36 100644 (file)
@@ -47,13 +47,6 @@ public class NearCacheSyncUpdateTest extends GridCommonAbstractTest {
         startGridsMultiThreaded(3);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * @throws Exception If failed.
      */
index a510b6c..5b3d002 100644 (file)
@@ -51,13 +51,6 @@ public class NoneRebalanceModeSelfTest extends GridCommonAbstractTest {
         startGrid(0);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * @throws Exception If failed.
      */
index 602db15..f0ba8fa 100644 (file)
@@ -86,8 +86,6 @@ public class GridCacheLocalByteArrayValuesSelfTest extends GridCacheAbstractByte
     @Override protected void afterTestsStopped() throws Exception {
         cache = null;
         ignite = null;
-
-        stopAllGrids();
     }
 
     /**
index a032e42..353477d 100644 (file)
@@ -78,10 +78,6 @@ public abstract class CacheMvccAbstractFeatureTest extends CacheMvccAbstractTest
 
     /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-
         node = null;
     }
 
index 1bc41e2..7120cee 100644 (file)
@@ -55,13 +55,6 @@ public class MvccUnsupportedTxModesTest extends GridCommonAbstractTest {
             .setAtomicityMode(TRANSACTIONAL_SNAPSHOT));
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /** */
     @Test
     public void testGetAndPutIfAbsent() {
index 3b324d5..c99553a 100644 (file)
@@ -56,13 +56,6 @@ public abstract class AbstractWalDeltaConsistencyTest extends GridCommonAbstract
         return defaultCacheConfiguration().setName(name);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Check page memory on each checkpoint.
      */
index 43ea09c..f40eb9a 100644 (file)
@@ -101,13 +101,6 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void beforeTest() throws Exception {
         super.beforeTest();
 
index 8a31cc5..0b64a2f 100644 (file)
@@ -97,13 +97,6 @@ public class CacheEntryProcessorNonSerializableTest extends GridCommonAbstractTe
         startGrid(getServerNodeCount());
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * @return Server nodes.
      */
index fea2fe0..8daaa13 100644 (file)
@@ -62,13 +62,6 @@ public class AtomicOperationsInTxTest extends GridCommonAbstractTest {
         startGrid(0);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        super.afterTestsStopped();
-
-        stopAllGrids();
-    }
-
     /**
      * @throws Exception If failed.
      */
index 4128f98..a00bc9a 100644 (file)
@@ -33,13 +33,6 @@ public class TxLabelTest extends GridCommonAbstractTest {
         startGrid(0).getOrCreateCache(defaultCacheConfiguration());
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Tests transaction labels.
      */
index 7d59bc8..3fd320d 100644 (file)
@@ -60,13 +60,6 @@ public class IoStatisticsMetricsLocalMXBeanImplSelfTest extends GridCommonAbstra
         ignite = startGrid(0);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        super.afterTestsStopped();
-
-        stopAllGrids();
-    }
-
     /**
      * Simple test JMX bean for indexes IO stats.
      *
index 98b4ec3..0aabf25 100644 (file)
@@ -71,8 +71,4 @@ public class GridTcpCommunicationSpiConfigSelfTest extends GridSpiAbstractConfig
         startGrid(cfg);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
 }
index 53a316b..0d4e685 100644 (file)
@@ -320,8 +320,4 @@ public class TcpCommunicationSpiSkipMessageSendTest extends GridCommonAbstractTe
         }
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
 }
index 3dc87c1..b5edfd9 100755 (executable)
@@ -1778,7 +1778,7 @@ public abstract class GridAbstractTest extends JUnit3TestLegacySupport {
         }
 
         if (isSafeTopology()) {
-            stopAllGrids(false);
+            stopAllGrids(true);
 
             if (stopGridErr) {
                 err = new RuntimeException("Not all Ignite instances has been stopped. " +
index f28833e..3618468 100644 (file)
@@ -40,13 +40,6 @@ public class CacheQueryAfterDynamicCacheStartFailureTest extends IgniteAbstractD
     }\r
 \r
     /** {@inheritDoc} */\r
-    @Override protected void afterTestsStopped() throws Exception {\r
-        stopAllGrids();\r
-\r
-        super.afterTestsStopped();\r
-    }\r
-\r
-    /** {@inheritDoc} */\r
     protected CacheConfiguration createCacheConfiguration(String cacheName) {\r
         CacheConfiguration cfg = new CacheConfiguration()\r
             .setName(cacheName)\r
index 8cc1707..d43149c 100644 (file)
@@ -93,13 +93,6 @@ public class GridCacheDynamicLoadOnClientTest extends GridCommonAbstractTest {
         createAndFillServerCache();
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Test from client node batch merge through JDBC.
      *
index f4fc40d..e399512 100644 (file)
@@ -41,13 +41,6 @@ public class ComplexSecondaryKeyUnwrapSelfTest extends AbstractIndexingCommonTes
         startGrid(0);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        super.afterTestsStopped();
-
-        stopAllGrids();
-    }
-
     /**
      * Test secondary index with complex PK. Columns for secondary and PK indexes are intersect.
      */
index 01c991e..1df9e90 100644 (file)
@@ -78,13 +78,6 @@ public abstract class DynamicIndexAbstractSelfTest extends AbstractSchemaSelfTes
     /** Argument for simple SQL (2). */
     protected static final int SQL_ARG_2 = 80;
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Create server configuration.
      *
index 40acf03..b396c7c 100644 (file)
@@ -36,14 +36,6 @@ public class SqlTransactionCommandsWithMvccDisabledSelfTest extends AbstractSche
             "atomicity=transactional\"");
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
-
     /**
      * @throws Exception if failed.
      */
index 2818677..5253f83 100644 (file)
@@ -57,13 +57,6 @@ public class SqlTransactionsCommandsWithMvccEnabledSelfTest extends AbstractSche
             "atomicity=transactional_snapshot\"");
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Test that BEGIN opens a transaction.
      */
index 569970e..f929b6e 100644 (file)
@@ -59,13 +59,6 @@ public class SqlTransactionsSelfTest extends AbstractSchemaSelfTest {
             "atomicity=transactional_snapshot\"");
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Test that BEGIN opens a transaction.
      */
index 5f52fda..5384779 100644 (file)
@@ -96,11 +96,6 @@ public class IgniteSqlGroupConcatCollocatedTest extends AbstractIndexingCommonTe
         }
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /**
      *
      */
index f46d0f4..8d53874 100644 (file)
@@ -80,11 +80,6 @@ public class IgniteSqlGroupConcatNotCollocatedTest extends AbstractIndexingCommo
         }
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /**
      *
      */
index 3475723..f7f8bb1 100644 (file)
@@ -63,11 +63,6 @@ public class IgniteSqlQueryParallelismTest extends AbstractIndexingCommonTest {
         startGridsMultiThreaded(3, false);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /**
      * @param name Cache name.
      * @param idxTypes Indexed types.
index 90423d7..1dab0c2 100644 (file)
@@ -158,11 +158,6 @@ public class H2ResultSetIteratorNullifyOnEndSelfTest extends AbstractIndexingCom
         populateDataIntoPerson();
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /**
      * @return Cache.
      */
index c9b9ab5..886ffa5 100644 (file)
@@ -50,15 +50,9 @@ public class ExplainSelfTest extends AbstractIndexingCommonTest {
 
     /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
-        try {
-            stopAllGrids();
-        }
-        finally {
-            ignite = null;
-            cache = null;
-
-            super.afterTestsStopped();
-        }
+        ignite = null;
+        cache = null;
+        super.afterTestsStopped();
     }
 
     /**
index 58f64e7..de8fd19 100644 (file)
@@ -110,11 +110,6 @@ public class AndOperationExtractPartitionSelfTest extends AbstractIndexingCommon
         }
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-    }
-
     /** */
     @Test
     public void testAlternativeUsageOfIn(){
index e74915c..2bde2f9 100644 (file)
@@ -56,8 +56,6 @@ public class CreateTableWithDateKeySelfTest extends AbstractIndexingCommonTest {
 
     /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
         ignite = null;
         initCache = null;
     }
index bcde303..cbfaec9 100644 (file)
@@ -111,8 +111,6 @@ public class InOperationExtractPartitionSelfTest extends AbstractIndexingCommonT
     /** {@inheritDoc} */
     @Override protected void afterTestsStopped() throws Exception {
         orgCache = null;
-
-        stopAllGrids();
     }
 
     /** */
index 407a2b0..b1a8240 100644 (file)
@@ -274,13 +274,6 @@ public class BaseSqlTest extends AbstractIndexingCommonTest {
         explain = locExp;
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids();
-
-        super.afterTestsStopped();
-    }
-
     /**
      * Result of sql query. Contains metadata and all values in memory.
      */
index 0ab107e..40cf4a7 100644 (file)
@@ -47,10 +47,6 @@ public class CacheBasedDatasetBuilderTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
 
     /** {@inheritDoc} */
     @Override protected void beforeTest() throws Exception {
index 1205d53..74f4c73 100644 (file)
@@ -55,11 +55,6 @@ public class ComputeUtilsTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void beforeTest() {
         /* Grid instance. */
         ignite = grid(NODE_COUNT);
index 2755dcd..ba097ad 100644 (file)
@@ -40,11 +40,6 @@ public class IgniteDistributedModelBuilderTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index 45ec4ad..4e74756 100644 (file)
@@ -57,11 +57,6 @@ public class MLPTrainerIntegrationTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index 44719a8..3a30dd1 100644 (file)
@@ -54,11 +54,6 @@ public class MLPTrainerMnistIntegrationTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index c11d96a..c8ee569 100644 (file)
@@ -43,11 +43,6 @@ public class CacheBasedLabelPairCursorTest extends GridCommonAbstractTest {
     }
 
     /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
-    /** {@inheritDoc} */
     @Override protected void beforeTest() {
         /* Grid instance. */
         ignite = grid(NODE_COUNT);
index 5388b60..97b1dcf 100644 (file)
@@ -69,11 +69,6 @@ public class EvaluatorTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index 59950a8..aa2fef6 100644 (file)
@@ -44,11 +44,6 @@ public class DecisionTreeClassificationTrainerIntegrationTest extends GridCommon
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index 1ccc562..affa12f 100644 (file)
@@ -50,11 +50,6 @@ public class DecisionTreeMNISTIntegrationTest extends GridCommonAbstractTest {
             startGrid(i);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() {
-        stopAllGrids();
-    }
-
     /**
      * {@inheritDoc}
      */
index dc265f7..8952d7d 100644 (file)
@@ -49,11 +49,6 @@ public class RestSetupSimpleTest extends GridCommonAbstractTest {
         startGrid(0);
     }
 
-    /** {@inheritDoc} */
-    @Override protected void afterTestsStopped() throws Exception {
-        stopAllGrids(true);
-    }
-
     /**
      * Runs version command using GridJettyRestProtocol.
      */