From 0d9e19cc902f751ec17cea806144f475ef9bce03 Mon Sep 17 00:00:00 2001 From: rkondakov Date: Thu, 20 Dec 2018 00:09:11 +0300 Subject: [PATCH 1/2] IGNITE-10743: Mute flaky mvcc tests. --- ...inTransactionsAbstractComplexSelfTest.java | 2 ++ ...dCacheMultinodeUpdateAbstractSelfTest.java | 4 +++ .../cache/IgniteCacheGroupsTest.java | 4 +++ ...ActivateDeactivateTestWithPersistence.java | 16 +++++++++++ ...vateTestWithPersistenceAndMemoryReuse.java | 27 +++++++++++++++++++ ...ridCachePartitionsStateValidationTest.java | 4 +++ ...eRebalancingWithAsyncClearingMvccTest.java | 2 ++ ...lanceOnCachesStoppingOrDestroyingTest.java | 6 +++++ ...ridCacheSyncReplicatedPreloadSelfTest.java | 4 +++ .../GridCacheReplicatedPreloadSelfTest.java | 3 +++ ...heMvccAbstractCoordinatorFailoverTest.java | 10 +++++++ ...vccPartitionedCoordinatorFailoverTest.java | 16 +++++++++++ .../cache/mvcc/CacheMvccTransactionsTest.java | 8 ++++++ .../db/IgnitePdsDataRegionMetricsTest.java | 4 +++ ...ousQueryConcurrentPartitionUpdateTest.java | 2 ++ .../TxRollbackAsyncWithPersistenceTest.java | 12 +++++++++ .../IgniteDbDynamicCacheSelfTest.java | 4 +++ .../DataStreamProcessorMvccSelfTest.java | 6 +++++ .../testsuites/IgniteCacheMvccTestSuite7.java | 2 ++ ...alModeChangeDuringRebalancingSelfTest.java | 4 +++ ...vccAbstractSqlCoordinatorFailoverTest.java | 12 +++++++++ .../CacheMvccBasicContinuousQueryTest.java | 4 +++ ...vccContinuousQueryClientReconnectTest.java | 13 +++++++++ .../CacheMvccContinuousQueryClientTest.java | 7 +++++ ...PartitionedSqlCoordinatorFailoverTest.java | 14 ++++++++++ .../CacheMvccReplicatedSqlTxQueriesTest.java | 2 ++ .../CacheMvccSqlTxQueriesAbstractTest.java | 2 ++ ...ccSqlTxQueriesWithReducerAbstractTest.java | 2 ++ .../cache/mvcc/CacheMvccTxRecoveryTest.java | 2 ++ .../IgniteCacheMvccSqlTestSuite.java | 7 +++++ 30 files changed, 205 insertions(+) diff --git a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java index 6b0e17865d493..e2f741c5c3b91 100644 --- a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java +++ b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java @@ -348,6 +348,8 @@ private void doBatchedInsert() throws SQLException { */ @Test public void testInsertAndQueryMultipleCaches() throws SQLException { + fail("https://issues.apache.org/jira/browse/IGNITE-10770"); + executeInTransaction(new TransactionClosure() { @Override public void apply(Connection conn) { insertCity(conn, 5, "St Petersburg", 6000); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateAbstractSelfTest.java index dadae952a99d1..d9b172a311a17 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateAbstractSelfTest.java @@ -26,6 +26,7 @@ import org.apache.ignite.cache.CacheMode; import org.apache.ignite.configuration.CacheConfiguration; import org.apache.ignite.testframework.GridTestUtils; +import org.apache.ignite.testframework.MvccFeatureChecker; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -81,6 +82,9 @@ public abstract class GridCacheMultinodeUpdateAbstractSelfTest extends GridCache */ @Test public void testInvoke() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10778"); + IgniteCache cache = grid(0).cache(DEFAULT_CACHE_NAME); final Integer key = primaryKey(cache); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java index 18892e41b4af4..374d8239bf08f 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java @@ -295,6 +295,8 @@ public void testCreateDestroyCachesTxReplicated() throws Exception { */ @Test public void testCreateDestroyCachesMvccTxReplicated() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + createDestroyCaches(REPLICATED, TRANSACTIONAL_SNAPSHOT); } @@ -343,6 +345,8 @@ public void testScanQueryTxReplicated() throws Exception { */ @Test public void testScanQueryMvccTxReplicated() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + scanQuery(REPLICATED, TRANSACTIONAL_SNAPSHOT); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistence.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistence.java index 7737bf004bf1e..70d0034131ceb 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistence.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistence.java @@ -41,6 +41,7 @@ import org.apache.ignite.internal.util.typedef.X; import org.apache.ignite.internal.util.typedef.internal.CU; import org.apache.ignite.testframework.GridTestUtils; +import org.apache.ignite.testframework.MvccFeatureChecker; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; @@ -107,6 +108,15 @@ public void testActivateCachesRestore_5_Servers_WithNewCaches() throws Exception activateCachesRestore(5, true); } + /** {@inheritDoc} */ + @Test + @Override public void testReActivateSimple_5_Servers_4_Clients_FromServer() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + + super.testReActivateSimple_5_Servers_4_Clients_FromServer(); + } + /** * Test deactivation on cluster that is not yet activated. * @@ -114,6 +124,9 @@ public void testActivateCachesRestore_5_Servers_WithNewCaches() throws Exception */ @Test public void testDeactivateInactiveCluster() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10582"); + ccfgs = new CacheConfiguration[] { new CacheConfiguration<>("test_cache_1") .setGroupName("test_cache") @@ -337,6 +350,9 @@ public void testActivateCacheRestoreConfigurationConflict() throws Exception { */ @Test public void testDeactivateDuringEvictionAndRebalance() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10786"); + IgniteEx srv = (IgniteEx) startGrids(3); srv.cluster().active(true); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistenceAndMemoryReuse.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistenceAndMemoryReuse.java index 48d17545aa766..c95fe3dc4a505 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistenceAndMemoryReuse.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTestWithPersistenceAndMemoryReuse.java @@ -18,6 +18,8 @@ package org.apache.ignite.internal.processors.cache; import org.apache.ignite.IgniteSystemProperties; +import org.apache.ignite.testframework.MvccFeatureChecker; +import org.junit.Test; /** * @@ -37,4 +39,29 @@ public class IgniteClusterActivateDeactivateTestWithPersistenceAndMemoryReuse ex System.clearProperty(IgniteSystemProperties.IGNITE_REUSE_MEMORY_ON_DEACTIVATE); } + + /** {@inheritDoc} */ + @Test + @Override public void testDeactivateDuringEvictionAndRebalance() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10788"); + + super.testDeactivateDuringEvictionAndRebalance(); + } + + /** {@inheritDoc} */ + @Test + @Override public void testDeactivateInactiveCluster() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10788"); + + super.testDeactivateInactiveCluster(); + } + + @Override public void testReActivateSimple_5_Servers_4_Clients_FromServer() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + + super.testReActivateSimple_5_Servers_4_Clients_FromServer(); + } } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionsStateValidationTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionsStateValidationTest.java index 59fb1336bef5c..90f1477cd05cf 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionsStateValidationTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionsStateValidationTest.java @@ -51,6 +51,7 @@ import org.apache.ignite.spi.IgniteSpiException; import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi; import org.apache.ignite.testframework.GridTestUtils; +import org.apache.ignite.testframework.MvccFeatureChecker; import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.apache.ignite.transactions.Transaction; import org.apache.ignite.transactions.TransactionConcurrency; @@ -141,6 +142,9 @@ public void testValidationIfPartitionCountersAreInconsistent() throws Exception */ @Test public void testPartitionCountersConsistencyOnExchange() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10766"); + IgniteEx ignite = (IgniteEx) startGrids(4); ignite.cluster().active(true); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingWithAsyncClearingMvccTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingWithAsyncClearingMvccTest.java index a61d6d00c5928..e5d2634fd0e68 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingWithAsyncClearingMvccTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingWithAsyncClearingMvccTest.java @@ -17,12 +17,14 @@ package org.apache.ignite.internal.processors.cache.distributed.rebalancing; import org.apache.ignite.cache.CacheAtomicityMode; +import org.junit.Before; /** * */ public class GridCacheRebalancingWithAsyncClearingMvccTest extends GridCacheRebalancingWithAsyncClearingTest { /** {@inheritDoc} */ + @Before @Override public void setUp() throws Exception { fail("https://issues.apache.org/jira/browse/IGNITE-10421"); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/IgniteRebalanceOnCachesStoppingOrDestroyingTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/IgniteRebalanceOnCachesStoppingOrDestroyingTest.java index b218d39c282e7..ed0fc904d8ba3 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/IgniteRebalanceOnCachesStoppingOrDestroyingTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/IgniteRebalanceOnCachesStoppingOrDestroyingTest.java @@ -139,6 +139,9 @@ public class IgniteRebalanceOnCachesStoppingOrDestroyingTest extends GridCommonA */ @Test public void testStopCachesOnDeactivation() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10582"); + performTest(ig -> { ig.cluster().active(false); @@ -166,6 +169,9 @@ public void testDestroySpecificCachesInDifferentCacheGroups() throws Exception { */ @Test public void testDestroySpecificCacheAndCacheGroup() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10582"); + performTest(ig -> { ig.destroyCaches(Arrays.asList(CACHE_1, CACHE_3, CACHE_4)); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheSyncReplicatedPreloadSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheSyncReplicatedPreloadSelfTest.java index 239948ad2ec1e..603e1af2317f9 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheSyncReplicatedPreloadSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheSyncReplicatedPreloadSelfTest.java @@ -26,6 +26,7 @@ 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.MvccFeatureChecker; import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.jetbrains.annotations.Nullable; import org.junit.Test; @@ -92,6 +93,9 @@ public GridCacheSyncReplicatedPreloadSelfTest() { @SuppressWarnings({"TooBroadScope"}) @Test public void testNodeRestart() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10082"); + int keyCnt = 1000; int retries = 20; diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/preloader/GridCacheReplicatedPreloadSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/preloader/GridCacheReplicatedPreloadSelfTest.java index 3b1492304f99c..9ae31a9e3d9fb 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/preloader/GridCacheReplicatedPreloadSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/preloader/GridCacheReplicatedPreloadSelfTest.java @@ -773,6 +773,9 @@ public void testBatchSize10000() throws Exception { */ @Test public void testMultipleNodes() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10082"); + preloadMode = ASYNC; batchSize = 256; diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java index ca7b1fa8daa95..83db9d5086cd1 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java @@ -37,6 +37,8 @@ public abstract class CacheMvccAbstractCoordinatorFailoverTest extends CacheMvcc */ @Test public void testAccountsTxGet_Server_Backups0_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; accountsTxReadAll(2, 0, 0, 64, @@ -48,6 +50,8 @@ public void testAccountsTxGet_Server_Backups0_CoordinatorFails_Persistence() thr */ @Test public void testAccountsTxGet_SingleNode_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + accountsTxReadAll(1, 0, 0, 1, null, true, GET, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -57,6 +61,8 @@ public void testAccountsTxGet_SingleNode_CoordinatorFails() throws Exception { */ @Test public void testAccountsTxScan_Server_Backups0_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + accountsTxReadAll(2, 0, 0, 64, null, true, SCAN, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -98,6 +104,9 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_GetPut_Persistence() */ @Test public void testUpdate_N_Objects_Servers_Backups0__PutGet_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; updateNObjectsTest(5, 2, 0, 0, 64, DFLT_TEST_TIME, @@ -109,6 +118,7 @@ public void testUpdate_N_Objects_Servers_Backups0__PutGet_CoordinatorFails_Persi */ @Test public void testUpdate_N_Objects_SingleNode__PutGet_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); updateNObjectsTest(7, 1, 0, 0, 1, DFLT_TEST_TIME, null, GET, PUT, RestartMode.RESTART_CRD); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java index c8b4677c313f2..ef68f95107bce 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java @@ -47,6 +47,8 @@ public class CacheMvccPartitionedCoordinatorFailoverTest extends CacheMvccAbstra */ @Test public void testAccountsTxGet_ClientServer_Backups2_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, @@ -58,6 +60,8 @@ public void testAccountsTxGet_ClientServer_Backups2_CoordinatorFails_Persistence */ @Test public void testAccountsTxGet_Server_Backups1_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + accountsTxReadAll(2, 0, 1, DFLT_PARTITION_COUNT, null, true, GET, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -67,6 +71,8 @@ public void testAccountsTxGet_Server_Backups1_CoordinatorFails() throws Exceptio */ @Test public void testAccountsTxScan_ClientServer_Backups2_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, null, true, SCAN, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -76,6 +82,8 @@ public void testAccountsTxScan_ClientServer_Backups2_CoordinatorFails() throws E */ @Test public void testAccountsTxScan_Server_Backups1_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; accountsTxReadAll(2, 0, 1, DFLT_PARTITION_COUNT, @@ -107,6 +115,8 @@ public void testPutAllGetAll_ClientServer_Backups1_RestartCoordinator_GetPut_Per */ @Test public void testUpdate_N_Objects_ClientServer_Backups1_PutGet_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; updateNObjectsTest(3, 5, 3, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, @@ -118,6 +128,8 @@ public void testUpdate_N_Objects_ClientServer_Backups1_PutGet_CoordinatorFails_P */ @Test public void testUpdate_N_Objects_ClientServer_Backups1__PutGet_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + updateNObjectsTest(10, 3, 2, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, null, GET, PUT, RestartMode.RESTART_CRD); } @@ -128,6 +140,8 @@ public void testUpdate_N_Objects_ClientServer_Backups1__PutGet_CoordinatorFails( */ @Test public void testGetReadInProgressCoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + readInProgressCoordinatorFails(false, false, PESSIMISTIC, REPEATABLE_READ, GET, PUT, null); } @@ -152,6 +166,8 @@ public void testGetReadInProgressCoordinatorFails_ReadDelay() throws Exception { */ @Test public void testGetReadInsideTxInProgressCoordinatorFails_ReadDelay() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + readInProgressCoordinatorFails(true, true, PESSIMISTIC, REPEATABLE_READ, GET, PUT, null); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java index ffb98e4419b43..844384f81033c 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java @@ -1095,6 +1095,8 @@ public void testPartialCommitResultNoVisible() throws Exception { */ @Test public void testCleanupWaitsForGet1() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10753"); + boolean vals[] = {true, false}; for (boolean otherPuts : vals) { @@ -1326,6 +1328,8 @@ public void testCleanupWaitsForGet2() throws Exception { */ @Test public void testCleanupWaitsForGet3() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10753"); + for (int i = 0; i < 4; i++) { cleanupWaitsForGet3(i + 1); @@ -2537,6 +2541,8 @@ public void testTxPrepareFailureSimplePessimisticTx() throws Exception { */ @Test public void testMvccCoordinatorChangeSimple() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + Ignite srv0 = startGrid(0); final List cacheNames = new ArrayList<>(); @@ -2867,6 +2873,8 @@ public void testUpdate_N_Objects_SingleNode_Scan() throws Exception { */ @Test public void testUpdate_N_Objects_ClientServer_Backups2_Get() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + int[] nValues = {3, 5, 10}; for (int n : nValues) { diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsDataRegionMetricsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsDataRegionMetricsTest.java index 7a316c6922329..1847b968a3785 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsDataRegionMetricsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsDataRegionMetricsTest.java @@ -47,6 +47,7 @@ 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.MvccFeatureChecker; import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.junit.Assert; import org.junit.Test; @@ -252,6 +253,9 @@ public void testCheckpointBufferSize() throws Exception { */ @Test public void testUsedCheckpointBuffer() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10591"); + IgniteEx ig = startGrid(0); ig.cluster().active(true); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java index fdb2180f8b513..3f84d5509fa65 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java @@ -326,6 +326,8 @@ public void testConcurrentUpdatesAndQueryStartTxCacheGroup() throws Exception { */ @Test public void testConcurrentUpdatesAndQueryStartMvccTxCacheGroup() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10755"); + concurrentUpdatesAndQueryStart(TRANSACTIONAL_SNAPSHOT, true); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncWithPersistenceTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncWithPersistenceTest.java index a11dca7cf83e6..8d24f05313dd4 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncWithPersistenceTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncWithPersistenceTest.java @@ -17,6 +17,9 @@ package org.apache.ignite.internal.processors.cache.transactions; +import org.apache.ignite.testframework.MvccFeatureChecker; +import org.junit.Test; + import static org.apache.ignite.IgniteSystemProperties.IGNITE_WAL_LOG_TX_RECORDS; /** @@ -53,5 +56,14 @@ public class TxRollbackAsyncWithPersistenceTest extends TxRollbackAsyncTest { cleanPersistenceDir(); } + + /** {@inheritDoc} */ + @Test + @Override public void testSynchronousRollback() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10785"); + + super.testSynchronousRollback(); + } } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbDynamicCacheSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbDynamicCacheSelfTest.java index 3d8b5aaa1dac3..f1870de2aa508 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbDynamicCacheSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbDynamicCacheSelfTest.java @@ -29,6 +29,7 @@ import org.apache.ignite.configuration.DataStorageConfiguration; import org.apache.ignite.configuration.IgniteConfiguration; import org.apache.ignite.internal.util.typedef.internal.U; +import org.apache.ignite.testframework.MvccFeatureChecker; import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.junit.Test; import org.junit.runner.RunWith; @@ -119,6 +120,9 @@ public void testCreate() throws Exception { */ @Test public void testMultipleDynamicCaches() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10421"); + int caches = 10; int entries = 10; diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java index 6219bfd296ef9..0622c910f791b 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java @@ -73,4 +73,10 @@ public class DataStreamProcessorMvccSelfTest extends DataStreamProcessorSelfTest @Override public void testLocal() { fail("https://issues.apache.org/jira/browse/IGNITE-9530"); } + + /** {@inheritDoc} */ + @Test + @Override public void testTryFlush() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + } } diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccTestSuite7.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccTestSuite7.java index afcc228af6e3f..3fd08006836e6 100644 --- a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccTestSuite7.java +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccTestSuite7.java @@ -32,6 +32,7 @@ import org.apache.ignite.internal.processors.cache.distributed.Cache64kPartitionsTest; import org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRebalancingPartitionCountersMvccTest; import org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRebalancingPartitionCountersTest; +import org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRebalancingWithAsyncClearingMvccTest; import org.apache.ignite.internal.processors.cache.eviction.paged.PageEvictionMultinodeMixedRegionsTest; import org.apache.ignite.internal.processors.cache.persistence.db.CheckpointBufferDeadlockTest; @@ -73,6 +74,7 @@ public static TestSuite suite() { // Add Mvcc clones. suite.addTest(new JUnit4TestAdapter(MvccCacheGroupMetricsMBeanTest.class)); suite.addTest(new JUnit4TestAdapter(GridCacheRebalancingPartitionCountersMvccTest.class)); + suite.addTest(new JUnit4TestAdapter(GridCacheRebalancingWithAsyncClearingMvccTest.class)); return suite; diff --git a/modules/direct-io/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteNativeIoLocalWalModeChangeDuringRebalancingSelfTest.java b/modules/direct-io/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteNativeIoLocalWalModeChangeDuringRebalancingSelfTest.java index 248ee31177526..f429c50652274 100644 --- a/modules/direct-io/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteNativeIoLocalWalModeChangeDuringRebalancingSelfTest.java +++ b/modules/direct-io/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteNativeIoLocalWalModeChangeDuringRebalancingSelfTest.java @@ -16,6 +16,7 @@ */ package org.apache.ignite.internal.processors.cache.persistence; +import org.apache.ignite.testframework.MvccFeatureChecker; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -34,6 +35,9 @@ public class IgniteNativeIoLocalWalModeChangeDuringRebalancingSelfTest extends L /** {@inheritDoc} */ @Test @Override public void testWithExchangesMerge() throws Exception { + if (MvccFeatureChecker.forcedMvcc()) + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + super.testWithExchangesMerge(); } } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java index e986f445f78f3..00a7ef16dd9a9 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java @@ -53,6 +53,8 @@ public abstract class CacheMvccAbstractSqlCoordinatorFailoverTest extends CacheM */ @Test public void testAccountsTxSql_Server_Backups0_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + accountsTxReadAll(2, 1, 0, 64, new InitIndexing(Integer.class, MvccTestAccount.class), true, SQL, DML, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -62,6 +64,8 @@ public void testAccountsTxSql_Server_Backups0_CoordinatorFails() throws Exceptio */ @Test public void testAccountsTxSql_SingleNode_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10753"); + persistence = true; accountsTxReadAll(1, 0, 0, 1, @@ -82,6 +86,8 @@ public void testPutAllGetAll_ClientServer_Backups0_RestartCoordinator_ScanDml() */ @Test public void testPutAllGetAll_SingleNode_RestartCoordinator_ScanDml_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10767"); + persistence = true; putAllGetAll(RestartMode.RESTART_CRD , 1, 0, 0, 1, @@ -93,6 +99,8 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_ScanDml_Persistence() */ @Test public void testPutAllGetAll_ClientServer_Backups0_RestartCoordinator_SqlDml() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10753"); + putAllGetAll(RestartMode.RESTART_CRD, 2, 1, 0, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -113,6 +121,8 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_SqlDml_Persistence() */ @Test public void testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; updateNObjectsTest(5, 2, 0, 0, 64, DFLT_TEST_TIME, @@ -124,6 +134,8 @@ public void testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence() throws */ @Test public void testUpdate_N_Objects_SingleNode_Sql_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + updateNObjectsTest(3, 1, 0, 0, 1, DFLT_TEST_TIME, new InitIndexing(Integer.class, Integer.class), SQL, DML, RestartMode.RESTART_CRD); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java index 5df177a571f2d..a4007a25229d0 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java @@ -254,6 +254,8 @@ public void testCachingMaxSize() throws Exception { */ @Test public void testUpdateCountersGapClosedSimplePartitioned() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10768"); + checkUpdateCountersGapIsProcessedSimple(CacheMode.PARTITIONED); } @@ -393,6 +395,8 @@ private void checkUpdateCountersGapIsProcessedSimple(CacheMode cacheMode) throws */ @Test public void testUpdateCountersGapClosedPartitioned() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10756"); + checkUpdateCountersGapsClosed(CacheMode.PARTITIONED); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java index 4c4c95ba1ff2b..d92a46d81fbae 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java @@ -18,6 +18,7 @@ import org.apache.ignite.cache.CacheAtomicityMode; import org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientReconnectTest; +import org.junit.Test; import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT; @@ -29,4 +30,16 @@ public class CacheMvccContinuousQueryClientReconnectTest extends IgniteCacheCon @Override protected CacheAtomicityMode atomicMode() { return TRANSACTIONAL_SNAPSHOT; } + + /** {@inheritDoc} */ + @Test + @Override public void testReconnectClient() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10537"); + } + + /** {@inheritDoc} */ + @Test + @Override public void testReconnectClientAndLeftRouter() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10537"); + } } \ No newline at end of file diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java index 5c6c7a8b0f815..8633a2333ebf2 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java @@ -18,6 +18,7 @@ import org.apache.ignite.cache.CacheAtomicityMode; import org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientTest; +import org.junit.Test; /** * Mvcc CQ client test. @@ -27,4 +28,10 @@ public class CacheMvccContinuousQueryClientTest extends IgniteCacheContinuousQue @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT; } + + /** {@inheritDoc} */ + @Test + @Override public void testNodeJoinsRestartQuery() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10769"); + } } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java index 1f684943fe158..a217a1f1b75e1 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java @@ -43,6 +43,8 @@ public class CacheMvccPartitionedSqlCoordinatorFailoverTest extends CacheMvccAbs */ @Test public void testAccountsTxSql_ClientServer_Backups2_CoordinatorFails() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10750"); + accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, MvccTestAccount.class), true, SQL, DML, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -52,6 +54,8 @@ public void testAccountsTxSql_ClientServer_Backups2_CoordinatorFails() throws Ex */ @Test public void testAccountsTxSql_Server_Backups1_CoordinatorFails_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; accountsTxReadAll(2, 0, 1, 64, @@ -63,6 +67,8 @@ public void testAccountsTxSql_Server_Backups1_CoordinatorFails_Persistence() thr */ @Test public void testPutAllGetAll_ClientServer_Backups3_RestartCoordinator_ScanDml() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + putAllGetAll(RestartMode.RESTART_CRD , 5, 2, 3, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, Integer.class), SCAN, DML); } @@ -130,6 +136,8 @@ public void testPutAllGetAll_Server_Backups2_RestartRandomSrv_SqlDml() throws Ex */ @Test public void testPutAllGetAll_Server_Backups1_SinglePartition_RestartRandomSrv_SqlDml() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + putAllGetAll(RestartMode.RESTART_RND_SRV, 4, 0, 1, 1, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -139,6 +147,8 @@ public void testPutAllGetAll_Server_Backups1_SinglePartition_RestartRandomSrv_Sq */ @Test public void testPutAllGetAll_ClientServer_Backups1_SinglePartition_RestartRandomSrv_SqlDml() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + putAllGetAll(RestartMode.RESTART_RND_SRV, 3, 1, 1, 1, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -148,6 +158,8 @@ public void testPutAllGetAll_ClientServer_Backups1_SinglePartition_RestartRandom */ @Test public void testUpdate_N_Objects_ClientServer_Backups2_Sql() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + updateNObjectsTest(7, 3, 2, 2, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, new InitIndexing(Integer.class, Integer.class), SQL, DML, RestartMode.RESTART_CRD); } @@ -157,6 +169,8 @@ public void testUpdate_N_Objects_ClientServer_Backups2_Sql() throws Exception { */ @Test public void testUpdate_N_Objects_ClientServer_Backups1_Sql_Persistence() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + persistence = true; updateNObjectsTest(10, 2, 1, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java index 7dce522413e03..681e452cab3e2 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java @@ -152,6 +152,8 @@ public void checkReplicatedJoinPartitioned(boolean client) throws Exception { */ @Test public void testReplicatedAndPartitionedUpdateSingleTransaction() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10763"); + ccfgs = new CacheConfiguration[] { cacheConfiguration(REPLICATED, FULL_SYNC, 0, DFLT_PARTITION_COUNT) .setName("rep") diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java index 1dd7fd5e1a212..9002f6b4d889f 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java @@ -1143,6 +1143,8 @@ public void testQueryUpdateSubqueryImplicit() throws Exception { */ @Test public void testQueryInsertMultithread() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10764"); + final int THREAD_CNT = 8; final int BATCH_SIZE = 1000; final int ROUNDS = 10; diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java index e6b0fd7aa2c6a..7bc353c05b801 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java @@ -521,6 +521,8 @@ private List sqlGet(int key, IgniteCache cache) { */ @Test public void testQueryReducerDeadlockInsertWithTxTimeout() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10763"); + checkQueryReducerDeadlockInsert(TimeoutMode.TX); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java index 61f63954d9a48..00fefefbd7a09 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java @@ -402,6 +402,8 @@ public void testRecoveryCommit() throws Exception { */ @Test public void testCountersNeighborcastServerFailed() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10766"); + int srvCnt = 4; startGridsMultiThreaded(srvCnt); diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java index c2d31f96ff09b..a5456a03068a0 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java @@ -71,6 +71,7 @@ import org.apache.ignite.internal.processors.cache.mvcc.MvccRepeatableReadBulkOpsTest; import org.apache.ignite.internal.processors.cache.mvcc.MvccRepeatableReadOperationsTest; import org.apache.ignite.internal.processors.query.h2.GridIndexRebuildWithMvccEnabledSelfTest; +import org.junit.Test; import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT; @@ -200,5 +201,11 @@ public static class MvccReplicatedTxPessimisticOriginatingNodeFailureRecoveryTes @Override protected CacheAtomicityMode atomicityMode() { return TRANSACTIONAL_SNAPSHOT; } + + /** {@inheritDoc} */ + @Test + @Override public void testManyKeysRollback() throws Exception { + fail("https://issues.apache.org/jira/browse/IGNITE-10765"); + } } } From 45f704311f3b6e9536086e56ecd12da9e6fb81c8 Mon Sep 17 00:00:00 2001 From: rkondakov Date: Mon, 24 Dec 2018 16:10:30 +0300 Subject: [PATCH 2/2] Tests remuted with @Ignore --- ...inTransactionsAbstractComplexSelfTest.java | 4 +-- .../cache/IgniteCacheGroupsTest.java | 7 +++--- ...heMvccAbstractCoordinatorFailoverTest.java | 17 +++++-------- ...vccPartitionedCoordinatorFailoverTest.java | 25 +++++++------------ .../cache/mvcc/CacheMvccTransactionsTest.java | 23 ++++++----------- ...ousQueryConcurrentPartitionUpdateTest.java | 4 +-- .../DataStreamProcessorMvccSelfTest.java | 17 +++++++------ ...vccAbstractSqlCoordinatorFailoverTest.java | 19 ++++++-------- .../CacheMvccBasicContinuousQueryTest.java | 7 +++--- ...vccContinuousQueryClientReconnectTest.java | 7 ++++-- .../CacheMvccContinuousQueryClientTest.java | 4 ++- ...PartitionedSqlCoordinatorFailoverTest.java | 22 ++++++---------- .../CacheMvccReplicatedSqlTxQueriesTest.java | 4 +-- .../CacheMvccSqlTxQueriesAbstractTest.java | 3 +-- ...ccSqlTxQueriesWithReducerAbstractTest.java | 4 +-- .../cache/mvcc/CacheMvccTxRecoveryTest.java | 4 +-- .../IgniteCacheMvccSqlTestSuite.java | 4 ++- 17 files changed, 76 insertions(+), 99 deletions(-) diff --git a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java index e2f741c5c3b91..ff9d6b383d443 100644 --- a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java +++ b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java @@ -44,6 +44,7 @@ import org.apache.ignite.internal.util.typedef.internal.U; import org.apache.ignite.lang.IgniteInClosure; import org.apache.ignite.testframework.GridTestUtils; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -346,10 +347,9 @@ private void doBatchedInsert() throws SQLException { /** * */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10770") @Test public void testInsertAndQueryMultipleCaches() throws SQLException { - fail("https://issues.apache.org/jira/browse/IGNITE-10770"); - executeInTransaction(new TransactionClosure() { @Override public void apply(Connection conn) { insertCity(conn, 5, "St Petersburg", 6000); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java index 2ea5e143d283e..aba526e477f16 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheGroupsTest.java @@ -99,6 +99,7 @@ import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.apache.ignite.transactions.Transaction; import org.jetbrains.annotations.Nullable; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -285,10 +286,9 @@ public void testCreateDestroyCachesTxReplicated() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testCreateDestroyCachesMvccTxReplicated() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - createDestroyCaches(REPLICATED, TRANSACTIONAL_SNAPSHOT); } @@ -335,10 +335,9 @@ public void testScanQueryTxReplicated() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testScanQueryMvccTxReplicated() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - scanQuery(REPLICATED, TRANSACTIONAL_SNAPSHOT); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java index 83db9d5086cd1..c7bee9d46cf60 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractCoordinatorFailoverTest.java @@ -17,6 +17,7 @@ package org.apache.ignite.internal.processors.cache.mvcc; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -35,10 +36,9 @@ public abstract class CacheMvccAbstractCoordinatorFailoverTest extends CacheMvcc /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxGet_Server_Backups0_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; accountsTxReadAll(2, 0, 0, 64, @@ -48,10 +48,9 @@ public void testAccountsTxGet_Server_Backups0_CoordinatorFails_Persistence() thr /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxGet_SingleNode_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - accountsTxReadAll(1, 0, 0, 1, null, true, GET, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -59,10 +58,9 @@ public void testAccountsTxGet_SingleNode_CoordinatorFails() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testAccountsTxScan_Server_Backups0_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - accountsTxReadAll(2, 0, 0, 64, null, true, SCAN, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -102,11 +100,9 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_GetPut_Persistence() /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_Servers_Backups0__PutGet_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; updateNObjectsTest(5, 2, 0, 0, 64, DFLT_TEST_TIME, @@ -116,10 +112,9 @@ public void testUpdate_N_Objects_Servers_Backups0__PutGet_CoordinatorFails_Persi /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_SingleNode__PutGet_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - updateNObjectsTest(7, 1, 0, 0, 1, DFLT_TEST_TIME, null, GET, PUT, RestartMode.RESTART_CRD); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java index ef68f95107bce..dcaf720faa40b 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedCoordinatorFailoverTest.java @@ -21,6 +21,7 @@ import org.apache.ignite.IgniteCache; import org.apache.ignite.cache.CacheMode; import org.apache.ignite.configuration.CacheConfiguration; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -45,10 +46,9 @@ public class CacheMvccPartitionedCoordinatorFailoverTest extends CacheMvccAbstra /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxGet_ClientServer_Backups2_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, @@ -58,10 +58,9 @@ public void testAccountsTxGet_ClientServer_Backups2_CoordinatorFails_Persistence /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxGet_Server_Backups1_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - accountsTxReadAll(2, 0, 1, DFLT_PARTITION_COUNT, null, true, GET, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -69,10 +68,9 @@ public void testAccountsTxGet_Server_Backups1_CoordinatorFails() throws Exceptio /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testAccountsTxScan_ClientServer_Backups2_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, null, true, SCAN, PUT, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -80,10 +78,9 @@ public void testAccountsTxScan_ClientServer_Backups2_CoordinatorFails() throws E /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxScan_Server_Backups1_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; accountsTxReadAll(2, 0, 1, DFLT_PARTITION_COUNT, @@ -113,10 +110,9 @@ public void testPutAllGetAll_ClientServer_Backups1_RestartCoordinator_GetPut_Per /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_ClientServer_Backups1_PutGet_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; updateNObjectsTest(3, 5, 3, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, @@ -126,10 +122,9 @@ public void testUpdate_N_Objects_ClientServer_Backups1_PutGet_CoordinatorFails_P /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testUpdate_N_Objects_ClientServer_Backups1__PutGet_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - updateNObjectsTest(10, 3, 2, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, null, GET, PUT, RestartMode.RESTART_CRD); } @@ -138,10 +133,9 @@ public void testUpdate_N_Objects_ClientServer_Backups1__PutGet_CoordinatorFails( /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testGetReadInProgressCoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - readInProgressCoordinatorFails(false, false, PESSIMISTIC, REPEATABLE_READ, GET, PUT, null); } @@ -164,10 +158,9 @@ public void testGetReadInProgressCoordinatorFails_ReadDelay() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testGetReadInsideTxInProgressCoordinatorFails_ReadDelay() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - readInProgressCoordinatorFails(true, true, PESSIMISTIC, REPEATABLE_READ, GET, PUT, null); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java index 844384f81033c..acb7891224bb3 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTransactionsTest.java @@ -897,10 +897,9 @@ public void testThreadUpdatesAreVisibleForThisThread() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-9470") @Test public void testWaitPreviousTxAck() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-9470"); - testSpi = true; startGrid(0); @@ -1093,10 +1092,9 @@ public void testPartialCommitResultNoVisible() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10753") @Test public void testCleanupWaitsForGet1() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10753"); - boolean vals[] = {true, false}; for (boolean otherPuts : vals) { @@ -1217,9 +1215,9 @@ private void cleanupWaitsForGet1(boolean otherPuts, final boolean putOnStart, fi /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-9470") @Test public void testCleanupWaitsForGet2() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-9470"); /* Simulate case when there are two active transactions modifying the same key (it is possible if key lock is released but ack message is delayed), and at this moment @@ -1326,10 +1324,9 @@ public void testCleanupWaitsForGet2() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10753") @Test public void testCleanupWaitsForGet3() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10753"); - for (int i = 0; i < 4; i++) { cleanupWaitsForGet3(i + 1); @@ -2539,10 +2536,9 @@ public void testTxPrepareFailureSimplePessimisticTx() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testMvccCoordinatorChangeSimple() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - Ignite srv0 = startGrid(0); final List cacheNames = new ArrayList<>(); @@ -2871,10 +2867,9 @@ public void testUpdate_N_Objects_SingleNode_Scan() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testUpdate_N_Objects_ClientServer_Backups2_Get() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - int[] nValues = {3, 5, 10}; for (int n : nValues) { @@ -3397,10 +3392,9 @@ public void testInternalApi() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-7311") @Test public void testExpiration() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-7311"); - final IgniteEx node = startGrid(0); IgniteCache cache = node.createCache(cacheConfiguration(PARTITIONED, FULL_SYNC, 1, 64)); @@ -3453,10 +3447,9 @@ public void testExpiration() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-7311") @Test public void testChangeExpireTime() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-7311"); - final IgniteEx node = startGrid(0); IgniteCache cache = node.createCache(cacheConfiguration(PARTITIONED, FULL_SYNC, 1, 64)); diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java index 4e742975c7dac..0f52b43630afa 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryConcurrentPartitionUpdateTest.java @@ -42,6 +42,7 @@ import org.apache.ignite.testframework.GridTestUtils; import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; import org.apache.ignite.transactions.Transaction; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -316,10 +317,9 @@ public void testConcurrentUpdatesAndQueryStartTxCacheGroup() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10755") @Test public void testConcurrentUpdatesAndQueryStartMvccTxCacheGroup() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10755"); - concurrentUpdatesAndQueryStart(TRANSACTIONAL_SNAPSHOT, true); } diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java index 0622c910f791b..6d37b9b22ee2d 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamProcessorMvccSelfTest.java @@ -20,6 +20,7 @@ import org.apache.ignite.cache.CacheAtomicityMode; import org.apache.ignite.configuration.CacheConfiguration; import org.apache.ignite.configuration.IgniteConfiguration; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -55,28 +56,30 @@ public class DataStreamProcessorMvccSelfTest extends DataStreamProcessorSelfTest } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-8582") @Test @Override public void testUpdateStore() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-8582"); - super.testUpdateStore(); } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-9321") @Test - @Override public void testFlushTimeout() { - fail("https://issues.apache.org/jira/browse/IGNITE-9321"); + @Override public void testFlushTimeout() throws Exception { + super.testFlushTimeout(); } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530") @Test - @Override public void testLocal() { - fail("https://issues.apache.org/jira/browse/IGNITE-9530"); + @Override public void testLocal() throws Exception { + super.testLocal(); } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test @Override public void testTryFlush() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); + super.testTryFlush(); } } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java index 00a7ef16dd9a9..e59018ec0b26f 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccAbstractSqlCoordinatorFailoverTest.java @@ -32,6 +32,7 @@ import org.apache.ignite.internal.util.typedef.internal.U; import org.apache.ignite.lang.IgnitePredicate; import org.apache.ignite.testframework.GridTestUtils; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -51,10 +52,9 @@ public abstract class CacheMvccAbstractSqlCoordinatorFailoverTest extends CacheM /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testAccountsTxSql_Server_Backups0_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - accountsTxReadAll(2, 1, 0, 64, new InitIndexing(Integer.class, MvccTestAccount.class), true, SQL, DML, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -62,10 +62,9 @@ public void testAccountsTxSql_Server_Backups0_CoordinatorFails() throws Exceptio /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10753") @Test public void testAccountsTxSql_SingleNode_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10753"); - persistence = true; accountsTxReadAll(1, 0, 0, 1, @@ -84,10 +83,9 @@ public void testPutAllGetAll_ClientServer_Backups0_RestartCoordinator_ScanDml() /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10767") @Test public void testPutAllGetAll_SingleNode_RestartCoordinator_ScanDml_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10767"); - persistence = true; putAllGetAll(RestartMode.RESTART_CRD , 1, 0, 0, 1, @@ -97,10 +95,9 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_ScanDml_Persistence() /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10753") @Test public void testPutAllGetAll_ClientServer_Backups0_RestartCoordinator_SqlDml() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10753"); - putAllGetAll(RestartMode.RESTART_CRD, 2, 1, 0, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -119,10 +116,9 @@ public void testPutAllGetAll_SingleNode_RestartCoordinator_SqlDml_Persistence() /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; updateNObjectsTest(5, 2, 0, 0, 64, DFLT_TEST_TIME, @@ -132,10 +128,9 @@ public void testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence() throws /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_SingleNode_Sql_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - updateNObjectsTest(3, 1, 0, 0, 1, DFLT_TEST_TIME, new InitIndexing(Integer.class, Integer.class), SQL, DML, RestartMode.RESTART_CRD); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java index a4007a25229d0..828278dd4825b 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccBasicContinuousQueryTest.java @@ -52,6 +52,7 @@ import org.apache.ignite.plugin.extensions.communication.Message; import org.apache.ignite.testframework.GridTestUtils; import org.apache.ignite.transactions.Transaction; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -252,10 +253,9 @@ public void testCachingMaxSize() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10768") @Test public void testUpdateCountersGapClosedSimplePartitioned() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10768"); - checkUpdateCountersGapIsProcessedSimple(CacheMode.PARTITIONED); } @@ -393,10 +393,9 @@ private void checkUpdateCountersGapIsProcessedSimple(CacheMode cacheMode) throws /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10756") @Test public void testUpdateCountersGapClosedPartitioned() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10756"); - checkUpdateCountersGapsClosed(CacheMode.PARTITIONED); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java index d92a46d81fbae..ec622217f987f 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientReconnectTest.java @@ -18,6 +18,7 @@ import org.apache.ignite.cache.CacheAtomicityMode; import org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientReconnectTest; +import org.junit.Ignore; import org.junit.Test; import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT; @@ -32,14 +33,16 @@ public class CacheMvccContinuousQueryClientReconnectTest extends IgniteCacheCon } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10537") @Test @Override public void testReconnectClient() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10537"); + super.testReconnectClient(); } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10537") @Test @Override public void testReconnectClientAndLeftRouter() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10537"); + super.testReconnectClientAndLeftRouter(); } } \ No newline at end of file diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java index 8633a2333ebf2..21488779092b1 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccContinuousQueryClientTest.java @@ -18,6 +18,7 @@ import org.apache.ignite.cache.CacheAtomicityMode; import org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientTest; +import org.junit.Ignore; import org.junit.Test; /** @@ -30,8 +31,9 @@ public class CacheMvccContinuousQueryClientTest extends IgniteCacheContinuousQue } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10769") @Test @Override public void testNodeJoinsRestartQuery() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10769"); + super.testNodeJoinsRestartQuery(); } } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java index a217a1f1b75e1..0cabf65d7b190 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccPartitionedSqlCoordinatorFailoverTest.java @@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.mvcc; import org.apache.ignite.cache.CacheMode; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -41,10 +42,9 @@ public class CacheMvccPartitionedSqlCoordinatorFailoverTest extends CacheMvccAbs /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10750") @Test public void testAccountsTxSql_ClientServer_Backups2_CoordinatorFails() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10750"); - accountsTxReadAll(4, 2, 2, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, MvccTestAccount.class), true, SQL, DML, DFLT_TEST_TIME, RestartMode.RESTART_CRD); } @@ -52,10 +52,9 @@ public void testAccountsTxSql_ClientServer_Backups2_CoordinatorFails() throws Ex /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testAccountsTxSql_Server_Backups1_CoordinatorFails_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; accountsTxReadAll(2, 0, 1, 64, @@ -65,10 +64,9 @@ public void testAccountsTxSql_Server_Backups1_CoordinatorFails_Persistence() thr /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testPutAllGetAll_ClientServer_Backups3_RestartCoordinator_ScanDml() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - putAllGetAll(RestartMode.RESTART_CRD , 5, 2, 3, DFLT_PARTITION_COUNT, new InitIndexing(Integer.class, Integer.class), SCAN, DML); } @@ -134,10 +132,9 @@ public void testPutAllGetAll_Server_Backups2_RestartRandomSrv_SqlDml() throws Ex /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testPutAllGetAll_Server_Backups1_SinglePartition_RestartRandomSrv_SqlDml() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - putAllGetAll(RestartMode.RESTART_RND_SRV, 4, 0, 1, 1, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -145,10 +142,9 @@ public void testPutAllGetAll_Server_Backups1_SinglePartition_RestartRandomSrv_Sq /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testPutAllGetAll_ClientServer_Backups1_SinglePartition_RestartRandomSrv_SqlDml() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - putAllGetAll(RestartMode.RESTART_RND_SRV, 3, 1, 1, 1, new InitIndexing(Integer.class, Integer.class), SQL, DML); } @@ -156,10 +152,9 @@ public void testPutAllGetAll_ClientServer_Backups1_SinglePartition_RestartRandom /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_ClientServer_Backups2_Sql() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - updateNObjectsTest(7, 3, 2, 2, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, new InitIndexing(Integer.class, Integer.class), SQL, DML, RestartMode.RESTART_CRD); } @@ -167,10 +162,9 @@ public void testUpdate_N_Objects_ClientServer_Backups2_Sql() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10752") @Test public void testUpdate_N_Objects_ClientServer_Backups1_Sql_Persistence() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10752"); - persistence = true; updateNObjectsTest(10, 2, 1, 1, DFLT_PARTITION_COUNT, DFLT_TEST_TIME, diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java index 681e452cab3e2..4554a7f67c552 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccReplicatedSqlTxQueriesTest.java @@ -28,6 +28,7 @@ import org.apache.ignite.internal.IgniteEx; import org.apache.ignite.internal.processors.query.GridQueryProcessor; import org.apache.ignite.transactions.Transaction; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -150,10 +151,9 @@ public void checkReplicatedJoinPartitioned(boolean client) throws Exception { * * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10763") @Test public void testReplicatedAndPartitionedUpdateSingleTransaction() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10763"); - ccfgs = new CacheConfiguration[] { cacheConfiguration(REPLICATED, FULL_SYNC, 0, DFLT_PARTITION_COUNT) .setName("rep") diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java index 9350e43e1ffc7..5841b093e8acb 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesAbstractTest.java @@ -1142,10 +1142,9 @@ public void testQueryUpdateSubqueryImplicit() throws Exception { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10764") @Test public void testQueryInsertMultithread() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10764"); - final int THREAD_CNT = 8; final int BATCH_SIZE = 1000; final int ROUNDS = 10; diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java index 7bc353c05b801..684631a2b3ea4 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccSqlTxQueriesWithReducerAbstractTest.java @@ -39,6 +39,7 @@ import org.apache.ignite.internal.util.typedef.X; import org.apache.ignite.testframework.GridTestUtils; import org.apache.ignite.transactions.Transaction; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -519,10 +520,9 @@ private List sqlGet(int key, IgniteCache cache) { /** * @throws Exception If failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10763") @Test public void testQueryReducerDeadlockInsertWithTxTimeout() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10763"); - checkQueryReducerDeadlockInsert(TimeoutMode.TX); } diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java index 00fefefbd7a09..10d5d363f46bd 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/mvcc/CacheMvccTxRecoveryTest.java @@ -54,6 +54,7 @@ import org.apache.ignite.plugin.extensions.communication.Message; import org.apache.ignite.testframework.GridTestUtils; import org.apache.ignite.transactions.Transaction; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -400,10 +401,9 @@ public void testRecoveryCommit() throws Exception { /** * @throws Exception if failed. */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10766") @Test public void testCountersNeighborcastServerFailed() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10766"); - int srvCnt = 4; startGridsMultiThreaded(srvCnt); diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java index 7e3c85ca8c1f4..c9cd54cb6d110 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccSqlTestSuite.java @@ -71,6 +71,7 @@ import org.apache.ignite.internal.processors.cache.mvcc.MvccRepeatableReadBulkOpsTest; import org.apache.ignite.internal.processors.cache.mvcc.MvccRepeatableReadOperationsTest; import org.apache.ignite.internal.processors.query.h2.GridIndexRebuildWithMvccEnabledSelfTest; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.AllTests; @@ -206,9 +207,10 @@ public static class MvccReplicatedTxPessimisticOriginatingNodeFailureRecoveryTes } /** {@inheritDoc} */ + @Ignore("https://issues.apache.org/jira/browse/IGNITE-10765") @Test @Override public void testManyKeysRollback() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10765"); + super.testManyKeysRollback(); } } }