You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2019/06/05 11:08:13 UTC
[ignite] 10/31: IGNITE-10178 change tests that fail(Ignite JIRA) to
@Ignore(Ignite JIRA). - Fixes #5824.
This is an automated email from the ASF dual-hosted git repository.
amashenkov pushed a commit to branch gg-19225
in repository https://gitbox.apache.org/repos/asf/ignite.git
commit 0acb359897ae22a83bd61881eef8338eb0a8d2a4
Author: Oleg Ignatenko <oi...@gridgain.com>
AuthorDate: Thu May 30 14:48:08 2019 +0300
IGNITE-10178 change tests that fail(Ignite JIRA) to @Ignore(Ignite JIRA). - Fixes #5824.
Signed-off-by: Dmitriy Pavlov <dp...@apache.org>
---
.../internal/client/ClientSslParametersTest.java | 10 +--
.../jdbc/thin/JdbcThinStatementSelfTest.java | 4 +-
...dbcThinTransactionsAbstractComplexSelfTest.java | 11 ++-
.../internal/jdbc/thin/JdbcThinConnection.java | 6 +-
.../ignite/cache/ResetLostPartitionTest.java | 8 +-
.../ignite/failure/IoomFailureHandlerTest.java | 4 +-
.../AuthenticationProcessorNodeRestartTest.java | 10 +--
.../cache/CacheEventWithTxLabelTest.java | 6 +-
...InterceptorPartitionCounterLocalSanityTest.java | 7 +-
...ceptorPartitionCounterRandomOperationsTest.java | 5 +-
.../processors/cache/CacheMetricsManageTest.java | 6 +-
.../processors/cache/CacheRemoveAllSelfTest.java | 6 +-
.../cache/GridCacheAbstractIteratorsSelfTest.java | 16 ++--
.../cache/GridCacheClearAllSelfTest.java | 4 +-
.../GridCacheMixedPartitionExchangeSelfTest.java | 6 +-
...ultinodeUpdateNearEnabledNoBackupsSelfTest.java | 10 +--
...ridCacheMultinodeUpdateNearEnabledSelfTest.java | 10 +--
.../GridCacheMvccMultiThreadedUpdateSelfTest.java | 6 +-
.../cache/GridCachePartitionedGetSelfTest.java | 4 +-
.../GridCacheReturnValueTransferSelfTest.java | 7 +-
.../GridCacheValueConsistencyAbstractSelfTest.java | 7 +-
.../cache/GridCacheVariableTopologySelfTest.java | 4 +-
.../processors/cache/IgniteCacheGroupsTest.java | 34 +++-----
...IgniteCacheInvokeReadThroughSingleNodeTest.java | 6 +-
.../cache/IgniteCacheInvokeReadThroughTest.java | 6 +-
.../cache/IgniteClusterActivateDeactivateTest.java | 6 +-
...usterActivateDeactivateTestWithPersistence.java | 6 +-
...eactivateTestWithPersistenceAndMemoryReuse.java | 6 +-
...teDynamicCacheStartFailWithPersistenceTest.java | 6 +-
.../IgniteMvccTxSingleThreadedAbstractTest.java | 7 +-
.../cache/IgnitePdsDataRegionMetricsTxTest.java | 6 +-
.../IgniteTopologyValidatorGridSplitCacheTest.java | 4 +-
.../cache/IgniteTxExceptionAbstractSelfTest.java | 6 +-
.../GridCacheBinaryObjectsAbstractSelfTest.java | 4 +-
...dCachePartitionedAtomicSetFailoverSelfTest.java | 4 +-
.../GridCachePartitionedSetFailoverSelfTest.java | 4 +-
.../cache/distributed/CacheBlockOnGetAllTest.java | 97 +++++++++++++++-------
.../cache/distributed/CacheBlockOnScanTest.java | 13 ++-
.../distributed/CacheBlockOnSingleGetTest.java | 97 +++++++++++++++-------
.../CacheDataLossOnPartitionMoveTest.java | 6 +-
.../CacheGetInsideLockChangingTopologyTest.java | 5 +-
.../CacheLateAffinityAssignmentTest.java | 6 +-
.../CacheLoadingConcurrentGridStartSelfTest.java | 4 +-
.../distributed/GridCacheBasicOpAbstractTest.java | 4 +-
.../GridCachePartitionNotLoadedEventSelfTest.java | 8 +-
.../GridCachePreloadRestartAbstractSelfTest.java | 6 +-
.../GridCacheTransformEventSelfTest.java | 10 +--
...niteCacheGroupsPartitionLossPolicySelfTest.java | 4 +-
.../IgniteMvccTxTimeoutAbstractTest.java | 4 +-
...WriteSynchronizationModesMultithreadedTest.java | 6 +-
.../IgniteTxRemoveTimeoutObjectsTest.java | 4 +-
.../dht/GridCacheDhtPreloadPutGetSelfTest.java | 6 +-
...idCachePartitionedNearDisabledLockSelfTest.java | 4 +-
...achePartitionedNearDisabledMetricsSelfTest.java | 4 +-
.../GridCachePartitionsStateValidationTest.java | 6 +-
.../dht/GridCacheTxNodeFailureSelfTest.java | 4 +-
.../IgniteAtomicLongChangingTopologySelfTest.java | 4 +-
.../dht/IgniteCacheClearDuringRebalanceTest.java | 4 +-
.../dht/NotMappedPartitionInTxTest.java | 7 +-
.../near/GridPartitionedBackupLoadSelfTest.java | 4 +-
.../GridCacheRebalancingSyncSelfTest.java | 9 +-
...dCacheRebalancingWithAsyncClearingMvccTest.java | 6 +-
...eRebalanceOnCachesStoppingOrDestroyingTest.java | 6 +-
.../GridCacheReplicatedLockSelfTest.java | 4 +-
.../GridCacheSyncReplicatedPreloadSelfTest.java | 4 +-
.../replicated/GridReplicatedTxPreloadTest.java | 4 +-
.../GridCacheReplicatedPreloadSelfTest.java | 4 +-
.../eviction/paged/PageEvictionMetricTest.java | 6 +-
.../PageEvictionPagesRecyclingAndReusingTest.java | 6 +-
.../paged/PageEvictionReadThroughTest.java | 6 +-
.../eviction/paged/PageEvictionTouchOrderTest.java | 9 +-
.../PageEvictionWithRebalanceAbstractTest.java | 6 +-
.../IgniteCacheExpiryPolicyAbstractTest.java | 4 +-
...heAtomicNearEnabledMultiJvmFullApiSelfTest.java | 4 +-
.../IgnitePdsCacheAssignmentNodeRestartsTest.java | 6 +-
.../IgnitePdsContinuousRestartTest.java | 6 +-
.../IgnitePdsPartitionFilesDestroyTest.java | 6 +-
.../IgnitePdsPartitionsStateRecoveryTest.java | 4 +-
...gniteRebalanceScheduleResendPartitionsTest.java | 6 +-
...ocalWalModeChangeDuringRebalancingSelfTest.java | 6 +-
.../ClientAffinityAssignmentWithBaselineTest.java | 6 +-
...itePdsPageEvictionDuringPartitionClearTest.java | 6 +-
.../db/IgnitePdsPartitionPreloadTest.java | 7 +-
...gnitePdsRebalancingOnNotStableTopologyTest.java | 6 +-
.../wal/IgniteNodeStoppedDuringDisableWALTest.java | 6 +-
...eWalFlushMultiNodeFailoverAbstractSelfTest.java | 4 +-
.../db/wal/IgniteWalFormatFileFailoverTest.java | 7 +-
.../db/wal/IgniteWalHistoryReservationsTest.java | 10 +--
.../db/wal/reader/IgniteWalReaderTest.java | 4 +-
.../IgniteChangeGlobalStateServiceTest.java | 4 +-
.../IgniteChangeGlobalStateTest.java | 5 +-
.../join/JoinActiveNodeToActiveCluster.java | 9 +-
.../join/JoinActiveNodeToInActiveCluster.java | 7 +-
.../join/JoinInActiveNodeToActiveCluster.java | 6 +-
.../join/JoinInActiveNodeToInActiveCluster.java | 7 +-
.../wal/ExplicitWalDeltaConsistencyTest.java | 6 +-
.../CacheContinuousQueryExecuteInPrimaryTest.java | 10 +--
.../CacheKeepBinaryIterationStoreEnabledTest.java | 7 +-
...ionIntegrityWithPrimaryIndexCorruptionTest.java | 6 +-
.../cache/transactions/TxRollbackAsyncTest.java | 12 ++-
.../TxRollbackOnIncorrectParamsTest.java | 6 +-
.../transactions/TxRollbackOnTimeoutTest.java | 6 +-
.../TxRollbackOnTopologyChangeTest.java | 10 +--
.../database/IgniteDbDynamicCacheSelfTest.java | 6 +-
.../database/IgniteDbPutGetAbstractTest.java | 4 +-
.../DataStreamerMultiThreadedSelfTest.java | 4 +-
.../DataStreamerMultinodeCreateCacheTest.java | 4 +-
.../igfs/IgfsPrimaryMultiNodeSelfTest.java | 4 +-
...PrimaryRelaxedConsistencyMultiNodeSelfTest.java | 4 +-
.../ignite/internal/util/IgniteDevOnlyLogTest.java | 4 +-
.../IpcSharedMemoryCrashDetectionSelfTest.java | 4 +-
.../tcp/TcpDiscoveryMultiThreadedTest.java | 16 ++--
.../IndexingCachePartitionLossPolicySelfTest.java | 4 +-
.../near/IgniteCacheQueryNodeRestartSelfTest2.java | 6 +-
.../ignite/stream/mqtt/IgniteMqttStreamerTest.java | 12 ++-
.../GridSpringCacheManagerMultiJvmSelfTest.java | 4 +-
116 files changed, 478 insertions(+), 446 deletions(-)
diff --git a/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientSslParametersTest.java b/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientSslParametersTest.java
index 1ec02ae..e18f961 100644
--- a/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientSslParametersTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/internal/client/ClientSslParametersTest.java
@@ -144,7 +144,7 @@ public class ClientSslParametersTest extends GridCommonAbstractTest {
};
startGrid();
-
+
checkSuccessfulClientStart(
new String[] {
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
@@ -164,7 +164,7 @@ public class ClientSslParametersTest extends GridCommonAbstractTest {
};
startGrid();
-
+
checkClientStartFailure(
new String[] {
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
@@ -180,14 +180,12 @@ public class ClientSslParametersTest extends GridCommonAbstractTest {
@Test
@Ignore("https://issues.apache.org/jira/browse/IGNITE-10245")
public void testNonExistentCipherSuite() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10245");
-
cipherSuites = new String[] {
"TLS_RSA_WITH_AES_128_GCM_SHA256"
};
startGrid();
-
+
checkClientStartFailure(
new String[] {
"TLC_FAKE_CIPHER",
@@ -225,8 +223,6 @@ public class ClientSslParametersTest extends GridCommonAbstractTest {
@Test
@Ignore("https://issues.apache.org/jira/browse/IGNITE-10245")
public void testNonExistentProtocol() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10245");
-
protocols = new String[] {
"SSLv3"
};
diff --git a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinStatementSelfTest.java b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinStatementSelfTest.java
index 58ed1e5..22dc1e5 100644
--- a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinStatementSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinStatementSelfTest.java
@@ -31,6 +31,7 @@ import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.testframework.GridTestUtils;
+import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -658,9 +659,8 @@ public class JdbcThinStatementSelfTest extends JdbcThinAbstractSelfTest {
* @throws Exception If failed.
*/
@org.junit.Test
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5440")
public void testSetEscapeProcessing() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5440");
-
stmt.setEscapeProcessing(false);
final String sqlText = "select {fn CONVERT(1, SQL_BOOLEAN)}";
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 e61b232..9a15f55 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
@@ -355,7 +355,7 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
*/
@Test
public void testColocatedJoinSelectAndInsertInTransaction() throws SQLException {
- // We'd like to put some Google into cities wgit checith over 1K population which don't have it yet
+ // We'd like to put some Google into cities with over 1K population which don't have it yet
executeInTransaction(new TransactionClosure() {
@Override public void apply(Connection conn) {
List<Integer> ids = flat(execute(conn, "SELECT distinct City.id from City left join Company c on " +
@@ -815,7 +815,7 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
/**
* @param c Connection to begin a transaction on.
*/
- private void begin(Connection c) throws SQLException {
+ private void begin(Connection c) {
if (autoCommit())
execute(c, "BEGIN");
}
@@ -865,7 +865,7 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
* @return Result set.
* @throws RuntimeException if failed.
*/
- protected List<List<?>> execute(Connection conn, String sql, Object... args) {
+ @Override protected List<List<?>> execute(Connection conn, String sql, Object... args) {
try {
return super.execute(conn, sql, args);
}
@@ -900,7 +900,7 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
* @param params Connection parameters.
* @return Thin JDBC connection to specified node.
*/
- protected Connection connect(IgniteEx node, String params) {
+ @Override protected Connection connect(IgniteEx node, String params) {
try {
return super.connect(node, params);
}
@@ -1050,7 +1050,7 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
/**
* Closure to be executed in scope of a transaction.
*/
- private abstract class TransactionClosure implements IgniteInClosure<Connection> {
+ private abstract static class TransactionClosure implements IgniteInClosure<Connection> {
// No-op.
}
@@ -1066,7 +1066,6 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
* @param rows Rows.
* @return Rows as a single list.
*/
- @SuppressWarnings("unchecked")
private static <T> List<T> flat(Collection<? extends Collection<?>> rows) {
return new ArrayList<>(F.flatCollections((Collection<? extends Collection<T>>)rows));
}
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/jdbc/thin/JdbcThinConnection.java b/modules/core/src/main/java/org/apache/ignite/internal/jdbc/thin/JdbcThinConnection.java
index 431efdf..1044034 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/jdbc/thin/JdbcThinConnection.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/jdbc/thin/JdbcThinConnection.java
@@ -29,7 +29,6 @@ import java.sql.PreparedStatement;
import java.sql.SQLClientInfoException;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
-import java.sql.SQLTimeoutException;
import java.sql.SQLPermission;
import java.sql.SQLTimeoutException;
import java.sql.SQLWarning;
@@ -43,9 +42,9 @@ import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
-import java.util.Set;
import java.util.concurrent.Executor;
import java.util.concurrent.Semaphore;
import java.util.concurrent.atomic.AtomicBoolean;
@@ -780,7 +779,6 @@ public class JdbcThinConnection implements Connection {
* @return Server response.
* @throws SQLException On any error.
*/
- @SuppressWarnings("unchecked")
<R extends JdbcResult> R sendRequest(JdbcRequest req, JdbcThinStatement stmt) throws SQLException {
ensureConnected();
@@ -1186,4 +1184,4 @@ public class JdbcThinConnection implements Connection {
}
}
}
-}
\ No newline at end of file
+}
diff --git a/modules/core/src/test/java/org/apache/ignite/cache/ResetLostPartitionTest.java b/modules/core/src/test/java/org/apache/ignite/cache/ResetLostPartitionTest.java
index 0f5c72b..9a38920 100644
--- a/modules/core/src/test/java/org/apache/ignite/cache/ResetLostPartitionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/cache/ResetLostPartitionTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,9 +32,7 @@ import org.apache.ignite.internal.processors.cache.distributed.dht.topology.Grid
import org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl;
import org.apache.ignite.internal.util.typedef.internal.CU;
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.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
diff --git a/modules/core/src/test/java/org/apache/ignite/failure/IoomFailureHandlerTest.java b/modules/core/src/test/java/org/apache/ignite/failure/IoomFailureHandlerTest.java
index f111da3..a177e25 100644
--- a/modules/core/src/test/java/org/apache/ignite/failure/IoomFailureHandlerTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/failure/IoomFailureHandlerTest.java
@@ -27,6 +27,7 @@ import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.mem.IgniteOutOfMemoryException;
import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.transactions.Transaction;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -123,10 +124,9 @@ public class IoomFailureHandlerTest extends AbstractFailureHandlerTest {
/**
* Test IgniteOutOfMemoryException handling with PDS.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10185")
@Test
public void testIoomErrorMvccPdsHandling() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10185");
-
testIoomErrorHandling(true, true);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/authentication/AuthenticationProcessorNodeRestartTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/authentication/AuthenticationProcessorNodeRestartTest.java
index fd14734..74385d5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/authentication/AuthenticationProcessorNodeRestartTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/authentication/AuthenticationProcessorNodeRestartTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,6 +26,7 @@ import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -93,9 +94,8 @@ public class AuthenticationProcessorNodeRestartTest extends GridCommonAbstractTe
* @throws Exception If failed.
*/
@Test
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7472")
public void testConcurrentAddUpdateRemoveNodeRestartCoordinator() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7472");
-
final IgniteInternalFuture restartFut = restartCoordinator();
AuthorizationContext.context(actxDflt);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheEventWithTxLabelTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheEventWithTxLabelTest.java
index 5a9c2e9..62475d4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheEventWithTxLabelTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheEventWithTxLabelTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterLocalSanityTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterLocalSanityTest.java
index 6adf6d9..a2c415f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterLocalSanityTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterLocalSanityTest.java
@@ -46,6 +46,7 @@ import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
import org.eclipse.jetty.util.BlockingArrayQueue;
import org.jetbrains.annotations.NotNull;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -148,10 +149,9 @@ public class CacheInterceptorPartitionCounterLocalSanityTest extends GridCommonA
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testLocalMvccTx() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
CacheConfiguration<Object, Object> ccfg = cacheConfiguration(TRANSACTIONAL_SNAPSHOT,false);
doTestPartitionCounterOperation(ccfg);
@@ -160,10 +160,9 @@ public class CacheInterceptorPartitionCounterLocalSanityTest extends GridCommonA
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testLocalMvccTxWithStore() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
CacheConfiguration<Object, Object> ccfg = cacheConfiguration(TRANSACTIONAL_SNAPSHOT,true);
doTestPartitionCounterOperation(ccfg);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterRandomOperationsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterRandomOperationsTest.java
index e613ee2..e50d6d2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterRandomOperationsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheInterceptorPartitionCounterRandomOperationsTest.java
@@ -53,6 +53,7 @@ import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
import org.eclipse.jetty.util.BlockingArrayQueue;
import org.jetbrains.annotations.NotNull;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -409,8 +410,8 @@ public class CacheInterceptorPartitionCounterRandomOperationsTest extends GridCo
*/
protected void doTestPartitionCounterOperation(CacheConfiguration<Object, Object> ccfg)
throws Exception {
- if (ccfg.getAtomicityMode() == TRANSACTIONAL_SNAPSHOT)
- fail("https://issues.apache.org/jira/browse/IGNITE-9323");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-9323",
+ ccfg.getAtomicityMode() == TRANSACTIONAL_SNAPSHOT);
ignite(0).createCache(ccfg);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsManageTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsManageTest.java
index 2254bd6..fe390dc 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsManageTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheMetricsManageTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
index b2b13da..191e064 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheRemoveAllSelfTest.java
@@ -23,10 +23,11 @@ import org.apache.ignite.cache.CachePeekMode;
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.testframework.GridTestUtils;
+import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
-import org.apache.ignite.testframework.MvccFeatureChecker;
/**
* Test remove all method.
@@ -35,8 +36,7 @@ import org.apache.ignite.testframework.MvccFeatureChecker;
public class CacheRemoveAllSelfTest extends GridCacheAbstractSelfTest {
/** {@inheritDoc} */
@Override public void setUp() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10082");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10082", MvccFeatureChecker.forcedMvcc());
super.setUp();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractIteratorsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractIteratorsSelfTest.java
index 7a67e8e..6c21d24 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractIteratorsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheAbstractIteratorsSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -49,11 +49,9 @@ public abstract class GridCacheAbstractIteratorsSelfTest extends GridCacheAbstra
*/
protected abstract int entryCount();
- /**
- * @throws Exception If failed.
- */
+ /** */
@Test
- public void testCacheIterator() throws Exception {
+ public void testCacheIterator() {
int cnt = 0;
for (Cache.Entry<String, Integer> entry : jcache()) {
@@ -99,9 +97,7 @@ public abstract class GridCacheAbstractIteratorsSelfTest extends GridCacheAbstra
}, 3, "iterator-thread");
}
- /**
- * @throws Exception If failed.
- */
+ /** */
@Test
public void testEntrySetIterator() throws Exception {
Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10082", MvccFeatureChecker.forcedMvcc());
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheClearAllSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheClearAllSelfTest.java
index 3608f51..c152e31 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheClearAllSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheClearAllSelfTest.java
@@ -26,6 +26,7 @@ import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.lang.IgnitePredicate;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -66,8 +67,7 @@ public class GridCacheClearAllSelfTest extends GridCommonAbstractTest {
/** {@inheritDoc} */
@Override protected void beforeTestsStarted() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc());
super.beforeTestsStarted();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMixedPartitionExchangeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMixedPartitionExchangeSelfTest.java
index 6bbd39c..2e198e0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMixedPartitionExchangeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMixedPartitionExchangeSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledNoBackupsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledNoBackupsSelfTest.java
index 3ed81b8..392e63e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledNoBackupsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledNoBackupsSelfTest.java
@@ -17,10 +17,11 @@
package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.configuration.CacheConfiguration;
+import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
-import org.apache.ignite.testframework.MvccFeatureChecker;
/**
*
@@ -44,9 +45,8 @@ public class GridCacheMultinodeUpdateNearEnabledNoBackupsSelfTest extends GridCa
/** {@inheritDoc} */
@Test
@Override public void testInvoke() throws Exception {
- if (!MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-809");
- else
- super.testInvoke();
+ Assume.assumeTrue("https://issues.apache.org/jira/browse/IGNITE-809", MvccFeatureChecker.forcedMvcc());
+
+ super.testInvoke();
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledSelfTest.java
index cd29a51..5aac5f5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMultinodeUpdateNearEnabledSelfTest.java
@@ -18,10 +18,11 @@ package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.configuration.NearCacheConfiguration;
+import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
-import org.apache.ignite.testframework.MvccFeatureChecker;
import static org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL;
@@ -51,9 +52,8 @@ public class GridCacheMultinodeUpdateNearEnabledSelfTest extends GridCacheMultin
/** {@inheritDoc} */
@Test
@Override public void testInvoke() throws Exception {
- if (!MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-809");
- else
- super.testInvoke();
+ Assume.assumeTrue("https://issues.apache.org/jira/browse/IGNITE-809", MvccFeatureChecker.forcedMvcc());
+
+ super.testInvoke();
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMvccMultiThreadedUpdateSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMvccMultiThreadedUpdateSelfTest.java
index ec69f48..235b0dd 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMvccMultiThreadedUpdateSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheMvccMultiThreadedUpdateSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePartitionedGetSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePartitionedGetSelfTest.java
index 8a45837..a0d3f28 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePartitionedGetSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePartitionedGetSelfTest.java
@@ -30,6 +30,7 @@ import org.apache.ignite.internal.processors.cache.distributed.near.GridNearGetR
import org.apache.ignite.internal.processors.cache.distributed.near.GridNearSingleGetRequest;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -116,8 +117,7 @@ public class GridCachePartitionedGetSelfTest extends GridCommonAbstractTest {
*/
@Test
public void testGetFromBackupNode() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10274");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10274", MvccFeatureChecker.forcedMvcc());
MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.EVICTION);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReturnValueTransferSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReturnValueTransferSelfTest.java
index 4923d7a..ca93242 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReturnValueTransferSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheReturnValueTransferSelfTest.java
@@ -31,6 +31,7 @@ import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -79,11 +80,10 @@ public class GridCacheReturnValueTransferSelfTest extends GridCommonAbstractTest
* @throws Exception If failed.
* TODO IGNITE-581 enable when fixed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-581")
@Test
public void testTransformTransactionalNoBackups() throws Exception {
// Test works too long and fails.
- fail("https://issues.apache.org/jira/browse/IGNITE-581");
-
checkTransform(TRANSACTIONAL, 0);
}
@@ -91,11 +91,10 @@ public class GridCacheReturnValueTransferSelfTest extends GridCommonAbstractTest
* @throws Exception If failed.
* TODO IGNITE-581 enable when fixed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-581")
@Test
public void testTransformTransactionalOneBackup() throws Exception {
// Test works too long and fails.
- fail("https://issues.apache.org/jira/browse/IGNITE-581");
-
checkTransform(TRANSACTIONAL, 1);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheValueConsistencyAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheValueConsistencyAbstractSelfTest.java
index 8dde578..cc55db5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheValueConsistencyAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheValueConsistencyAbstractSelfTest.java
@@ -26,6 +26,7 @@ import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.NearCacheConfiguration;
import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -235,8 +236,7 @@ public abstract class GridCacheValueConsistencyAbstractSelfTest extends GridCach
*/
@Test
public void testPutConsistencyMultithreaded() throws Exception {
- if (nearEnabled())
- fail("https://issues.apache.org/jira/browse/IGNITE-627");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-627", nearEnabled());
for (int i = 0; i < 20; i++) {
log.info("Iteration: " + i);
@@ -289,8 +289,7 @@ public abstract class GridCacheValueConsistencyAbstractSelfTest extends GridCach
*/
@Test
public void testPutRemoveConsistencyMultithreaded() throws Exception {
- if (nearEnabled())
- fail("https://issues.apache.org/jira/browse/IGNITE-627");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-627", nearEnabled());
for (int i = 0; i < 10; i++) {
log.info("Iteration: " + i);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
index d5b86b7..be59905 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheVariableTopologySelfTest.java
@@ -35,6 +35,7 @@ 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.TransactionRollbackException;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -52,8 +53,7 @@ public class GridCacheVariableTopologySelfTest extends GridCommonAbstractTest {
/** {@inheritDoc} */
@Override public void setUp() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7388");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7388", MvccFeatureChecker.forcedMvcc());
super.setUp();
}
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 78b1eea..f2b9739 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
@@ -357,10 +357,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testScanQueryMvccTxLocal() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
scanQuery(LOCAL, TRANSACTIONAL_SNAPSHOT);
}
@@ -383,10 +382,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7311")
@Test
public void testEntriesTtlMvccTxPartitioned() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7311");
-
entriesTtl(PARTITIONED, TRANSACTIONAL_SNAPSHOT);
}
@@ -409,10 +407,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7311")
@Test
public void testEntriesTtlMvccTxReplicated() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7311");
-
entriesTtl(REPLICATED, TRANSACTIONAL_SNAPSHOT);
}
@@ -435,11 +432,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530,https://issues.apache.org/jira/browse/IGNITE-7311")
@Test
public void testEntriesTtlMvccTxLocal() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
- fail("https://issues.apache.org/jira/browse/IGNITE-7311");
-
entriesTtl(LOCAL, TRANSACTIONAL_SNAPSHOT);
}
@@ -510,10 +505,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testCacheIteratorMvccTxLocal() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
cacheIterator(LOCAL, TRANSACTIONAL_SNAPSHOT);
}
@@ -608,10 +602,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testContinuousQueryMvccTxLocal() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
continuousQuery(LOCAL, TRANSACTIONAL_SNAPSHOT);
}
@@ -2049,10 +2042,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7952")
@Test
public void testCacheApiMvccTxPartitioned() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
-
cacheApiTest(PARTITIONED, TRANSACTIONAL_SNAPSHOT);
}
@@ -2067,10 +2059,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7952")
@Test
public void testCacheApiMvccTxReplicated() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
-
cacheApiTest(REPLICATED, TRANSACTIONAL_SNAPSHOT);
}
@@ -2902,10 +2893,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7954")
@Test
public void testLoadCacheMvccTxPartitioned() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7954");
-
loadCache(PARTITIONED, TRANSACTIONAL_SNAPSHOT);
}
@@ -2920,10 +2910,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-7954")
@Test
public void testLoadCacheMvccTxReplicated() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7954");
-
loadCache(REPLICATED, TRANSACTIONAL_SNAPSHOT);
}
@@ -2946,10 +2935,9 @@ public class IgniteCacheGroupsTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testLoadCacheMvccTxLocal() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
loadCache(LOCAL, TRANSACTIONAL_SNAPSHOT);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughSingleNodeTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughSingleNodeTest.java
index 743b158..e286422 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughSingleNodeTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughSingleNodeTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughTest.java
index 171a374..ad0db6b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheInvokeReadThroughTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTest.java
index 5739a79..a5debd3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteClusterActivateDeactivateTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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 f6a5b58..43f7493 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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 9eb330c..509a4d8 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteDynamicCacheStartFailWithPersistenceTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteDynamicCacheStartFailWithPersistenceTest.java
index 9af4c4e..c7dbb1e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteDynamicCacheStartFailWithPersistenceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteDynamicCacheStartFailWithPersistenceTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteMvccTxSingleThreadedAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteMvccTxSingleThreadedAbstractTest.java
index 8fb64ae..5ae3338 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteMvccTxSingleThreadedAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteMvccTxSingleThreadedAbstractTest.java
@@ -17,6 +17,7 @@
package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.IgniteCheckedException;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -32,10 +33,9 @@ public abstract class IgniteMvccTxSingleThreadedAbstractTest extends IgniteTxAbs
/**
* @throws IgniteCheckedException If test failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10261")
@Test
public void testPessimisticRepeatableReadCommit() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10261");
-
checkCommit(PESSIMISTIC, REPEATABLE_READ);
finalChecks();
@@ -44,10 +44,9 @@ public abstract class IgniteMvccTxSingleThreadedAbstractTest extends IgniteTxAbs
/**
* @throws IgniteCheckedException If test failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10261")
@Test
public void testPessimisticRepeatableReadRollback() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10261");
-
checkRollback(PESSIMISTIC, REPEATABLE_READ);
finalChecks();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgnitePdsDataRegionMetricsTxTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgnitePdsDataRegionMetricsTxTest.java
index e469623..faf8fa7 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgnitePdsDataRegionMetricsTxTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgnitePdsDataRegionMetricsTxTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTopologyValidatorGridSplitCacheTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTopologyValidatorGridSplitCacheTest.java
index eb158e1..e0bec5e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTopologyValidatorGridSplitCacheTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTopologyValidatorGridSplitCacheTest.java
@@ -42,6 +42,7 @@ import org.apache.ignite.resources.LoggerResource;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -201,8 +202,7 @@ public class IgniteTopologyValidatorGridSplitCacheTest extends IgniteCacheTopolo
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc());
super.beforeTest();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTxExceptionAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTxExceptionAbstractSelfTest.java
index 47e1406..41e9b66 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTxExceptionAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTxExceptionAbstractSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheBinaryObjectsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheBinaryObjectsAbstractSelfTest.java
index e4bf32f..98ba369 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheBinaryObjectsAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheBinaryObjectsAbstractSelfTest.java
@@ -73,6 +73,7 @@ import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
import org.jetbrains.annotations.Nullable;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -585,10 +586,9 @@ public abstract class GridCacheBinaryObjectsAbstractSelfTest extends GridCommonA
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-3244")
@Test
public void testCustomArrays() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-3244");
-
IgniteCache<Integer, TestObject[]> cache = jcache(0);
for (int i = 0; i < ENTRY_CNT; i++) {
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedAtomicSetFailoverSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedAtomicSetFailoverSelfTest.java
index 6296472..b17f778 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedAtomicSetFailoverSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedAtomicSetFailoverSelfTest.java
@@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.datastructures.partitioned;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.internal.processors.cache.datastructures.GridCacheSetFailoverAbstractSelfTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -35,8 +36,9 @@ public class GridCachePartitionedAtomicSetFailoverSelfTest extends GridCacheSetF
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-170")
@Test
@Override public void testNodeRestart() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-170");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedSetFailoverSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedSetFailoverSelfTest.java
index 402447d..4697ce5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedSetFailoverSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/partitioned/GridCachePartitionedSetFailoverSelfTest.java
@@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.datastructures.partitioned;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.internal.processors.cache.datastructures.GridCacheSetFailoverAbstractSelfTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -34,8 +35,9 @@ public class GridCachePartitionedSetFailoverSelfTest extends GridCacheSetFailove
return TRANSACTIONAL;
}
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1593")
@Test
@Override public void testNodeRestart(){
- fail("https://issues.apache.org/jira/browse/IGNITE-1593");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnGetAllTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnGetAllTest.java
index 2d2e85b..dc945cf 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnGetAllTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnGetAllTest.java
@@ -20,6 +20,7 @@ import java.util.HashSet;
import java.util.Random;
import java.util.Set;
import org.jetbrains.annotations.NotNull;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -55,225 +56,257 @@ public class CacheBlockOnGetAllTest extends CacheBlockOnReadAbstractTest {
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnScanTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnScanTest.java
index 6991138..4ed4187 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnScanTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnScanTest.java
@@ -20,6 +20,7 @@ import java.util.Objects;
import java.util.Random;
import org.apache.ignite.cache.query.ScanQuery;
import org.jetbrains.annotations.NotNull;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -80,30 +81,34 @@ public class CacheBlockOnScanTest extends CacheBlockOnReadAbstractTest {
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnSingleGetTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnSingleGetTest.java
index 27ae6c0..f96bce1 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnSingleGetTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheBlockOnSingleGetTest.java
@@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.distributed;
import java.util.Random;
import org.jetbrains.annotations.NotNull;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -49,225 +50,257 @@ public class CacheBlockOnSingleGetTest extends CacheBlockOnReadAbstractTest {
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9915")
@Test
@Override public void testStopBaselineTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9915");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testCreateCacheTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testDestroyCacheTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStartServerTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testStopServerTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9883")
@Test
@Override public void testUpdateBaselineTopologyTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9883");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStartClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientAtomicPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = ATOMIC, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientAtomicReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = PARTITIONED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientTransactionalPartitioned() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
/** {@inheritDoc} */
@Params(baseline = 1, atomicityMode = TRANSACTIONAL, cacheMode = REPLICATED)
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9987")
@Test
@Override public void testStopClientTransactionalReplicated() {
- fail("https://issues.apache.org/jira/browse/IGNITE-9987");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheDataLossOnPartitionMoveTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheDataLossOnPartitionMoveTest.java
index 41ea6a9..1ecf317 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheDataLossOnPartitionMoveTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheDataLossOnPartitionMoveTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheGetInsideLockChangingTopologyTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheGetInsideLockChangingTopologyTest.java
index 8de2cf6..ca5f2dc 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheGetInsideLockChangingTopologyTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheGetInsideLockChangingTopologyTest.java
@@ -27,7 +27,6 @@ import javax.cache.CacheException;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.IgniteException;
-import org.apache.ignite.IgniteSystemProperties;
import org.apache.ignite.cache.CacheAtomicityMode;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
@@ -40,6 +39,7 @@ import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -363,10 +363,9 @@ public class CacheGetInsideLockChangingTopologyTest extends GridCommonAbstractTe
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-2204")
@Test
public void testMultithreaded() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-2204");
-
final AtomicBoolean finished = new AtomicBoolean();
final int NEW_NODE = SRVS + CLIENTS;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
index 80d4a39..9f6d7b6 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLateAffinityAssignmentTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLoadingConcurrentGridStartSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLoadingConcurrentGridStartSelfTest.java
index bdf013a..ea7ebd7 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLoadingConcurrentGridStartSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/CacheLoadingConcurrentGridStartSelfTest.java
@@ -51,6 +51,7 @@ import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.jetbrains.annotations.Nullable;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -173,10 +174,9 @@ public class CacheLoadingConcurrentGridStartSelfTest extends GridCommonAbstractT
/**
* @throws Exception if failed
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-4210")
@Test
public void testLoadCacheFromStore() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-4210");
-
loadCache(new IgniteInClosure<Ignite>() {
@Override public void apply(Ignite grid) {
grid.cache(DEFAULT_CACHE_NAME).loadCache(null);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheBasicOpAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheBasicOpAbstractTest.java
index c2d7332..d720e51 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheBasicOpAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheBasicOpAbstractTest.java
@@ -30,6 +30,7 @@ import org.apache.ignite.lang.IgnitePredicate;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.Transaction;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -75,8 +76,7 @@ public abstract class GridCacheBasicOpAbstractTest extends GridCommonAbstractTes
@Override protected void beforeTest() throws Exception {
MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.CACHE_EVENTS);
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc());
for (Ignite g : G.allGrids())
g.cache(DEFAULT_CACHE_NAME).clear();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePartitionNotLoadedEventSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePartitionNotLoadedEventSelfTest.java
index fc2f1ff..c70494f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePartitionNotLoadedEventSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePartitionNotLoadedEventSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -34,8 +34,8 @@ import org.apache.ignite.internal.processors.cache.distributed.dht.preloader.Gri
import org.apache.ignite.internal.util.lang.GridAbsPredicate;
import org.apache.ignite.lang.IgnitePredicate;
import org.apache.ignite.testframework.GridTestUtils;
-import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.GridTestUtils.SF;
+import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.util.TestTcpCommunicationSpi;
import org.eclipse.jetty.util.ConcurrentHashSet;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePreloadRestartAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePreloadRestartAbstractSelfTest.java
index 31ded1c..55b038a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePreloadRestartAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePreloadRestartAbstractSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTransformEventSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTransformEventSelfTest.java
index 3a5b3a6..9dc548d 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTransformEventSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTransformEventSelfTest.java
@@ -42,6 +42,7 @@ import org.apache.ignite.resources.IgniteInstanceResource;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -331,10 +332,9 @@ public class GridCacheTransformEventSelfTest extends GridCommonAbstractTest {
*
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testMvccTxLocalPessimisticRepeatableRead() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
checkMvccTx(LOCAL, PESSIMISTIC, REPEATABLE_READ);
}
@@ -403,10 +403,9 @@ public class GridCacheTransformEventSelfTest extends GridCommonAbstractTest {
*
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9321")
@Test
public void testMvccTxPartitionedPessimisticRepeatableRead() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9321");
-
checkMvccTx(PARTITIONED, PESSIMISTIC, REPEATABLE_READ);
}
@@ -476,10 +475,9 @@ public class GridCacheTransformEventSelfTest extends GridCommonAbstractTest {
*
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9321")
@Test
public void testMvccTxReplicatedPessimisticRepeatableRead() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9321");
-
checkMvccTx(REPLICATED, PESSIMISTIC, REPEATABLE_READ);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheGroupsPartitionLossPolicySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheGroupsPartitionLossPolicySelfTest.java
index 5a82eca..14aa72b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheGroupsPartitionLossPolicySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteCacheGroupsPartitionLossPolicySelfTest.java
@@ -37,6 +37,7 @@ import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.internal.util.typedef.G;
import org.apache.ignite.internal.util.typedef.P1;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -135,10 +136,9 @@ public class IgniteCacheGroupsPartitionLossPolicySelfTest extends GridCommonAbst
/**
* @throws Exception if failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5078")
@Test
public void testIgnore() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5078");
-
prepareTopology();
String cacheName = ThreadLocalRandom.current().nextBoolean() ? CACHE_1 : CACHE_2;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteMvccTxTimeoutAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteMvccTxTimeoutAbstractTest.java
index 40475bd..6fd0e3c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteMvccTxTimeoutAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteMvccTxTimeoutAbstractTest.java
@@ -27,6 +27,7 @@ import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
import org.apache.ignite.transactions.TransactionTimeoutException;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -38,6 +39,7 @@ import static org.apache.ignite.transactions.TransactionIsolation.REPEATABLE_REA
* Simple cache test.
*/
@RunWith(JUnit4.class)
+@Ignore("https://issues.apache.org/jira/browse/IGNITE-7388")
public class IgniteMvccTxTimeoutAbstractTest extends GridCommonAbstractTest {
/** Random number generator. */
private static final Random RAND = new Random();
@@ -52,8 +54,6 @@ public class IgniteMvccTxTimeoutAbstractTest extends GridCommonAbstractTest {
* @throws Exception If failed.
*/
@Override protected void beforeTestsStarted() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-7388");
-
startGridsMultiThreaded(GRID_COUNT, true);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxCacheWriteSynchronizationModesMultithreadedTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxCacheWriteSynchronizationModesMultithreadedTest.java
index a3bfc70..480076b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxCacheWriteSynchronizationModesMultithreadedTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxCacheWriteSynchronizationModesMultithreadedTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxRemoveTimeoutObjectsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxRemoveTimeoutObjectsTest.java
index f5334a2..928047f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxRemoveTimeoutObjectsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/IgniteTxRemoveTimeoutObjectsTest.java
@@ -34,6 +34,7 @@ import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionTimeoutException;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -61,8 +62,7 @@ public class IgniteTxRemoveTimeoutObjectsTest extends GridCacheAbstractSelfTest
/** {@inheritDoc} */
@Override public void setUp() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7388");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7388", MvccFeatureChecker.forcedMvcc());
if (nearEnabled())
MvccFeatureChecker.skipIfNotSupported(MvccFeatureChecker.Feature.NEAR_CACHE);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadPutGetSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadPutGetSelfTest.java
index 2f7c578..e72e83a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadPutGetSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtPreloadPutGetSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledLockSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledLockSelfTest.java
index 91444ab..a33dde0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledLockSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledLockSelfTest.java
@@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.distributed.dht;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedLockSelfTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -44,8 +45,9 @@ public class GridCachePartitionedNearDisabledLockSelfTest extends GridCacheParti
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-835")
@Test
@Override public void testLockReentrancy() throws Throwable {
- fail("https://issues.apache.org/jira/browse/IGNITE-835");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledMetricsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledMetricsSelfTest.java
index c329e13..def8422 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledMetricsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCachePartitionedNearDisabledMetricsSelfTest.java
@@ -22,6 +22,7 @@ import org.apache.ignite.cache.CacheMetrics;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.processors.cache.GridCacheAbstractSelfTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -80,10 +81,9 @@ public class GridCachePartitionedNearDisabledMetricsSelfTest extends GridCacheAb
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-819")
@Test
public void testGettingRemovedKey() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-819");
-
IgniteCache<Integer, Integer> cache = grid(0).cache(DEFAULT_CACHE_NAME);
cache.put(0, 0);
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 80d8a60..d11e52d 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
index 745b4ce..069351c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheTxNodeFailureSelfTest.java
@@ -44,6 +44,7 @@ import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionRollbackException;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -141,10 +142,9 @@ public class GridCacheTxNodeFailureSelfTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1731")
@Test
public void testPrimaryNodeFailureBackupRollbackOptimistic() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1731");
-
checkPrimaryNodeFailureBackupCommit(OPTIMISTIC, false, false);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteAtomicLongChangingTopologySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteAtomicLongChangingTopologySelfTest.java
index 003f188..28a1d1a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteAtomicLongChangingTopologySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteAtomicLongChangingTopologySelfTest.java
@@ -43,6 +43,7 @@ import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -169,10 +170,9 @@ public class IgniteAtomicLongChangingTopologySelfTest extends GridCommonAbstract
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9015")
@Test
public void testClientSetCreateCloseFailover() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9015");
-
checkClientSetCreateCloseFailover(false);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheClearDuringRebalanceTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheClearDuringRebalanceTest.java
index 269274c..56731db 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheClearDuringRebalanceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheClearDuringRebalanceTest.java
@@ -26,6 +26,7 @@ import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -42,8 +43,7 @@ public class IgniteCacheClearDuringRebalanceTest extends GridCommonAbstractTest
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if(MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc());
}
/** {@inheritDoc} */
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
index c87d60e..75b6dd4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/NotMappedPartitionInTxTest.java
@@ -38,6 +38,7 @@ import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
import org.jetbrains.annotations.Nullable;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -114,10 +115,9 @@ public class NotMappedPartitionInTxTest extends GridCommonAbstractTest {
/**
*
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10377")
@Test
public void testOneServerMvcc() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10377");
-
try {
atomicityMode = CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT;
@@ -160,10 +160,9 @@ public class NotMappedPartitionInTxTest extends GridCommonAbstractTest {
/**
*
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10377")
@Test
public void testFourServersMvcc() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10377");
-
try {
atomicityMode = CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java
index 3c783d5..a231105 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridPartitionedBackupLoadSelfTest.java
@@ -25,6 +25,7 @@ import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -75,8 +76,7 @@ public class GridPartitionedBackupLoadSelfTest extends GridCommonAbstractTest {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-8582");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-8582", MvccFeatureChecker.forcedMvcc());
startGridsMultiThreaded(GRID_CNT);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
index 440ffab..1c0f685 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/rebalancing/GridCacheRebalancingSyncSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -58,10 +58,9 @@ import org.apache.ignite.resources.LoggerResource;
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.GridTestUtils.SF;
+import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
-import org.junit.Assume;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
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 daf674e..89bd634 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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 9a496f9..3e1367b 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedLockSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedLockSelfTest.java
index 45506f0..aeef0ea 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedLockSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedLockSelfTest.java
@@ -18,6 +18,7 @@ package org.apache.ignite.internal.processors.cache.distributed.replicated;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.internal.processors.cache.distributed.GridCacheLockAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -35,8 +36,9 @@ public class GridCacheReplicatedLockSelfTest extends GridCacheLockAbstractTest {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-835")
@Test
@Override public void testLockReentrancy() throws Throwable {
- fail("https://issues.apache.org/jira/browse/IGNITE-835");
+ // No-op
}
}
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 f65a4d45..d5b169a 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
@@ -25,6 +25,7 @@ import org.apache.ignite.internal.IgniteKernal;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.jetbrains.annotations.Nullable;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -80,8 +81,7 @@ public class GridCacheSyncReplicatedPreloadSelfTest extends GridCommonAbstractTe
@SuppressWarnings({"TooBroadScope"})
@Test
public void testNodeRestart() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10082");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10082", MvccFeatureChecker.forcedMvcc());
int keyCnt = 1000;
int retries = 20;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridReplicatedTxPreloadTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridReplicatedTxPreloadTest.java
index 940a15a..d467b55 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridReplicatedTxPreloadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridReplicatedTxPreloadTest.java
@@ -19,6 +19,7 @@ package org.apache.ignite.internal.processors.cache.distributed.replicated;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.processors.cache.distributed.IgniteTxPreloadAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -41,8 +42,9 @@ public class GridReplicatedTxPreloadTest extends IgniteTxPreloadAbstractTest {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1755")
@Test
@Override public void testLocalTxPreloadingOptimistic() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1755");
+ // No-op
}
}
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 c955b4e..a31952f 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
@@ -53,6 +53,7 @@ import org.apache.ignite.spi.eventstorage.memory.MemoryEventStorageSpi;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -760,8 +761,7 @@ public class GridCacheReplicatedPreloadSelfTest extends GridCommonAbstractTest {
*/
@Test
public void testMultipleNodes() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10082");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10082", MvccFeatureChecker.forcedMvcc());
preloadMode = ASYNC;
batchSize = 256;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionMetricTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionMetricTest.java
index 47f3e6e..a923870 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionMetricTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionMetricTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionPagesRecyclingAndReusingTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionPagesRecyclingAndReusingTest.java
index 35667bc..cf5c83d 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionPagesRecyclingAndReusingTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionPagesRecyclingAndReusingTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionReadThroughTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionReadThroughTest.java
index 6f6dc08..c2535ee 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionReadThroughTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionReadThroughTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionTouchOrderTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionTouchOrderTest.java
index 8914095..e006381 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionTouchOrderTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionTouchOrderTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -93,9 +93,6 @@ public class PageEvictionTouchOrderTest extends PageEvictionAbstractTest {
@Ignore("https://issues.apache.org/jira/browse/IGNITE-10738,https://issues.apache.org/jira/browse/IGNITE-7956")
@Test
public void testTouchOrderWithFairFifoEvictionMvccTxPartitioned() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10448");
- fail("https://issues.apache.org/jira/browse/IGNITE-7956");
-
testTouchOrderWithFairFifoEviction(CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT, CacheMode.PARTITIONED);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionWithRebalanceAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionWithRebalanceAbstractTest.java
index 28c670d..c13568e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionWithRebalanceAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/paged/PageEvictionWithRebalanceAbstractTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
index 7378591..40f7254 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteCacheExpiryPolicyAbstractTest.java
@@ -57,6 +57,7 @@ import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.jetbrains.annotations.Nullable;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -359,10 +360,9 @@ public abstract class IgniteCacheExpiryPolicyAbstractTest extends IgniteCacheAbs
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-305")
@Test
public void testAccess() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-305");
-
factory = new FactoryBuilder.SingletonFactory<>(new TestPolicy(60_000L, 61_000L, 62_000L));
startGrids();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.java
index 09b2541..2077fd4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/multijvm/GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest.java
@@ -17,6 +17,7 @@
package org.apache.ignite.internal.processors.cache.multijvm;
import org.apache.ignite.internal.processors.cache.distributed.near.GridCacheAtomicNearEnabledMultiNodeFullApiSelfTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -33,8 +34,9 @@ public class GridCacheAtomicNearEnabledMultiJvmFullApiSelfTest extends
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1112")
@Test
@Override public void testPutAllPutAll() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1112");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsCacheAssignmentNodeRestartsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsCacheAssignmentNodeRestartsTest.java
index ff6c53c..73cf107 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsCacheAssignmentNodeRestartsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsCacheAssignmentNodeRestartsTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsContinuousRestartTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsContinuousRestartTest.java
index 894cc6b..5638f1a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsContinuousRestartTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsContinuousRestartTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionFilesDestroyTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionFilesDestroyTest.java
index 8507085..56a5e6c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionFilesDestroyTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionFilesDestroyTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionsStateRecoveryTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionsStateRecoveryTest.java
index fdf3733..879a3e3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionsStateRecoveryTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgnitePdsPartitionsStateRecoveryTest.java
@@ -31,6 +31,7 @@ import org.apache.ignite.internal.processors.cache.distributed.dht.topology.Grid
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Assert;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -144,8 +145,7 @@ public class IgnitePdsPartitionsStateRecoveryTest extends GridCommonAbstractTest
*/
@Test
public void testPartitionsStateConsistencyAfterRecoveryNoCheckpoints() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10603");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10603", MvccFeatureChecker.forcedMvcc());
IgniteEx ignite = startGrid(0);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteRebalanceScheduleResendPartitionsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteRebalanceScheduleResendPartitionsTest.java
index f2c3439..d4cf257 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteRebalanceScheduleResendPartitionsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/IgniteRebalanceScheduleResendPartitionsTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
index 567bbff..be377b8 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/baseline/ClientAffinityAssignmentWithBaselineTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/baseline/ClientAffinityAssignmentWithBaselineTest.java
index 7ae8875..fcba76f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/baseline/ClientAffinityAssignmentWithBaselineTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/baseline/ClientAffinityAssignmentWithBaselineTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPageEvictionDuringPartitionClearTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPageEvictionDuringPartitionClearTest.java
index d251572..1152e8b 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPageEvictionDuringPartitionClearTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPageEvictionDuringPartitionClearTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPartitionPreloadTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPartitionPreloadTest.java
index 9e98d77..8e922e4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPartitionPreloadTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsPartitionPreloadTest.java
@@ -37,6 +37,7 @@ import org.apache.ignite.internal.util.typedef.G;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.lang.IgnitePredicate;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -558,10 +559,9 @@ public class IgnitePdsPartitionPreloadTest extends GridCommonAbstractTest {
}
/** */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testPreloadLocalTransactionalSyncMvcc() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
cfgFactory = () -> cacheConfiguration(TRANSACTIONAL_SNAPSHOT).setCacheMode(LOCAL);
preloadPartition(
@@ -578,10 +578,9 @@ public class IgnitePdsPartitionPreloadTest extends GridCommonAbstractTest {
}
/** */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testPreloadLocalTransactionalAsyncMvcc() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
cfgFactory = () -> cacheConfiguration(TRANSACTIONAL_SNAPSHOT).setCacheMode(LOCAL);
preloadPartition(
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsRebalancingOnNotStableTopologyTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsRebalancingOnNotStableTopologyTest.java
index 0c0b2a1..ed7e2fa 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsRebalancingOnNotStableTopologyTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/IgnitePdsRebalancingOnNotStableTopologyTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteNodeStoppedDuringDisableWALTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteNodeStoppedDuringDisableWALTest.java
index 3228bff..77009b5 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteNodeStoppedDuringDisableWALTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteNodeStoppedDuringDisableWALTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFlushMultiNodeFailoverAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFlushMultiNodeFailoverAbstractSelfTest.java
index 439feca..89cc64c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFlushMultiNodeFailoverAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFlushMultiNodeFailoverAbstractSelfTest.java
@@ -47,6 +47,7 @@ import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.Transaction;
import org.apache.ignite.transactions.TransactionConcurrency;
import org.apache.ignite.transactions.TransactionIsolation;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -72,8 +73,7 @@ public abstract class IgniteWalFlushMultiNodeFailoverAbstractSelfTest extends Gr
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10550");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10550", MvccFeatureChecker.forcedMvcc());
super.beforeTest();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFormatFileFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFormatFileFailoverTest.java
index 41bdc7e..e0faef4 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFormatFileFailoverTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalFormatFileFailoverTest.java
@@ -40,6 +40,7 @@ import org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAhea
import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -111,10 +112,9 @@ public class IgniteWalFormatFileFailoverTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10035")
@Test
public void testFailureHandlerTriggeredFsync() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10035");
-
fsync = true;
failFormatFileOnClusterActivate();
@@ -123,10 +123,9 @@ public class IgniteWalFormatFileFailoverTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10035")
@Test
public void testFailureHandlerTriggered() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10035");
-
fsync = false;
failFormatFileOnClusterActivate();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalHistoryReservationsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalHistoryReservationsTest.java
index 9ee1493..b9c28e3 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalHistoryReservationsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalHistoryReservationsTest.java
@@ -40,6 +40,7 @@ import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Assert;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -260,8 +261,7 @@ public class IgniteWalHistoryReservationsTest extends GridCommonAbstractTest {
*/
@Test
public void testRemovesArePreloadedIfHistoryIsAvailable() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10551");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10551", MvccFeatureChecker.forcedMvcc());
int entryCnt = 10_000;
@@ -313,8 +313,7 @@ public class IgniteWalHistoryReservationsTest extends GridCommonAbstractTest {
*/
@Test
public void testNodeIsClearedIfHistoryIsUnavailable() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10551");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10551", MvccFeatureChecker.forcedMvcc());
int entryCnt = 10_000;
@@ -377,8 +376,7 @@ public class IgniteWalHistoryReservationsTest extends GridCommonAbstractTest {
*/
@Test
public void testWalHistoryPartiallyRemoved() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10551");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10551", MvccFeatureChecker.forcedMvcc());
int entryCnt = 10_000;
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/reader/IgniteWalReaderTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/reader/IgniteWalReaderTest.java
index b976739..65ebc1e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/reader/IgniteWalReaderTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/reader/IgniteWalReaderTest.java
@@ -84,6 +84,7 @@ import org.apache.ignite.transactions.Transaction;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.junit.Assert;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -912,8 +913,7 @@ public class IgniteWalReaderTest extends GridCommonAbstractTest {
*/
@Test
public void testRemoveOperationPresentedForDataEntryForAtomic() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- return;
+ Assume.assumeFalse(MvccFeatureChecker.forcedMvcc());
runRemoveOperationTest(CacheAtomicityMode.ATOMIC);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateServiceTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateServiceTest.java
index fab7a73..bde6c27 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateServiceTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateServiceTest.java
@@ -24,6 +24,7 @@ import org.apache.ignite.services.Service;
import org.apache.ignite.services.ServiceConfiguration;
import org.apache.ignite.services.ServiceContext;
import org.apache.ignite.services.ServiceDescriptor;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -51,10 +52,9 @@ public class IgniteChangeGlobalStateServiceTest extends IgniteChangeGlobalStateA
/**
*
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-6629")
@Test
public void testDeployService() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-6629");
-
Ignite ig1P = primary(0);
Ignite ig1B = backUp(0);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateTest.java
index 2b8d72c..5ceeb7d 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateTest.java
@@ -20,7 +20,6 @@ import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.CyclicBarrier;
-import java.util.concurrent.atomic.AtomicInteger;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteAtomicSequence;
import org.apache.ignite.IgniteCache;
@@ -31,6 +30,7 @@ import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.processors.cache.GridCacheProcessor;
import org.apache.ignite.internal.util.typedef.F;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -555,10 +555,9 @@ public class IgniteChangeGlobalStateTest extends IgniteChangeGlobalStateAbstract
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10723")
@Test
public void testActivateAfterFailGetLock() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10723");
-
Ignite ig1P = primary(0);
Ignite ig2P = primary(1);
Ignite ig3P = primary(2);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToActiveCluster.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToActiveCluster.java
index 27a3983..de19d14 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToActiveCluster.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToActiveCluster.java
@@ -17,12 +17,13 @@
package org.apache.ignite.internal.processors.cache.persistence.standbycluster.join;
import java.util.Map;
-import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.processors.cache.DynamicCacheDescriptor;
import org.apache.ignite.internal.processors.cache.GridCacheAdapter;
+import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
import org.apache.ignite.internal.util.typedef.internal.CU;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -240,10 +241,9 @@ public class JoinActiveNodeToActiveCluster extends AbstractNodeJoinTemplate {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationInCluster() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationInClusterTemplate().execute();
}
@@ -256,10 +256,9 @@ public class JoinActiveNodeToActiveCluster extends AbstractNodeJoinTemplate {
/**
*
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationDifferentOnBoth() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationDifferentOnBothTemplate().execute();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToInActiveCluster.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToInActiveCluster.java
index 8874886..941989c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToInActiveCluster.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinActiveNodeToInActiveCluster.java
@@ -17,6 +17,7 @@
package org.apache.ignite.internal.processors.cache.persistence.standbycluster.join;
import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -200,10 +201,9 @@ public class JoinActiveNodeToInActiveCluster extends AbstractNodeJoinTemplate {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationInCluster() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationInClusterTemplate().execute();
}
@@ -214,10 +214,9 @@ public class JoinActiveNodeToInActiveCluster extends AbstractNodeJoinTemplate {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationDifferentOnBoth() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationDifferentOnBothTemplate().execute();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToActiveCluster.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToActiveCluster.java
index 257c88f..2321162 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToActiveCluster.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToActiveCluster.java
@@ -17,12 +17,13 @@
package org.apache.ignite.internal.processors.cache.persistence.standbycluster.join;
import java.util.Map;
-import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.processors.cache.DynamicCacheDescriptor;
import org.apache.ignite.internal.processors.cache.GridCacheAdapter;
+import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
import org.apache.ignite.internal.util.typedef.internal.CU;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -251,10 +252,9 @@ public class JoinInActiveNodeToActiveCluster extends AbstractNodeJoinTemplate {
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationDifferentOnBoth() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationDifferentOnBothTemplate().execute();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToInActiveCluster.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToInActiveCluster.java
index 1adc374..f1784be 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToInActiveCluster.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/join/JoinInActiveNodeToInActiveCluster.java
@@ -17,6 +17,7 @@
package org.apache.ignite.internal.processors.cache.persistence.standbycluster.join;
import org.apache.ignite.internal.processors.cache.persistence.standbycluster.AbstractNodeJoinTemplate;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -200,10 +201,9 @@ public class JoinInActiveNodeToInActiveCluster extends AbstractNodeJoinTemplate
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationInCluster() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationInClusterTemplate().execute();
}
@@ -214,10 +214,9 @@ public class JoinInActiveNodeToInActiveCluster extends AbstractNodeJoinTemplate
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-5518")
@Test
@Override public void testJoinClientStaticCacheConfigurationDifferentOnBoth() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-5518");
-
joinClientStaticCacheConfigurationDifferentOnBothTemplate().execute();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/ExplicitWalDeltaConsistencyTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/ExplicitWalDeltaConsistencyTest.java
index dabd1dd..a3bacd7 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/ExplicitWalDeltaConsistencyTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/wal/ExplicitWalDeltaConsistencyTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryExecuteInPrimaryTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryExecuteInPrimaryTest.java
index f1f1b4e..69ee3ad 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryExecuteInPrimaryTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryExecuteInPrimaryTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,6 +43,7 @@ import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.transactions.Transaction;
import org.jetbrains.annotations.NotNull;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -167,10 +168,9 @@ public class CacheContinuousQueryExecuteInPrimaryTest extends GridCommonAbstract
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9530")
@Test
public void testMvccTransactionLocalCache() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9530");
-
CacheConfiguration<Integer, String> ccfg = cacheConfiguration(TRANSACTIONAL_SNAPSHOT, LOCAL);
doTestWithoutEventsEntries(ccfg);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheKeepBinaryIterationStoreEnabledTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheKeepBinaryIterationStoreEnabledTest.java
index 260e573..88705ac 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheKeepBinaryIterationStoreEnabledTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheKeepBinaryIterationStoreEnabledTest.java
@@ -23,6 +23,7 @@ import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.cache.CacheWriteSynchronizationMode;
import org.apache.ignite.cache.store.CacheStoreAdapter;
import org.apache.ignite.configuration.CacheConfiguration;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -54,15 +55,17 @@ public class CacheKeepBinaryIterationStoreEnabledTest extends CacheKeepBinaryIte
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-8582")
@Test
@Override public void testMvccTxOnHeap() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-8582");
+ // No-op
}
/** {@inheritDoc} */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-8582")
@Test
@Override public void testMvccTxOnHeapLocalEntries() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-8582");
+ // No-op
}
/**
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TransactionIntegrityWithPrimaryIndexCorruptionTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TransactionIntegrityWithPrimaryIndexCorruptionTest.java
index 715970e..d83561f 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TransactionIntegrityWithPrimaryIndexCorruptionTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TransactionIntegrityWithPrimaryIndexCorruptionTest.java
@@ -33,10 +33,11 @@ import org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO;
import org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler;
import org.apache.ignite.internal.processors.cache.tree.SearchRow;
import org.apache.ignite.testframework.GridTestUtils;
+import org.apache.ignite.testframework.MvccFeatureChecker;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
-import org.apache.ignite.testframework.MvccFeatureChecker;
import static org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionState.OWNING;
@@ -50,8 +51,7 @@ public class TransactionIntegrityWithPrimaryIndexCorruptionTest extends Abstract
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-10470");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10470", MvccFeatureChecker.forcedMvcc());
super.beforeTest();
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncTest.java
index ef50258..380cb7c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackAsyncTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -482,8 +482,7 @@ public class TxRollbackAsyncTest extends GridCommonAbstractTest {
*/
@Test
public void testEnlistManyReadOptimistic() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- return; // Optimistic transactions are not supported by MVCC.
+ Assume.assumeFalse(MvccFeatureChecker.forcedMvcc()); // Optimistic transactions are not supported by MVCC.
testEnlistMany(false, SERIALIZABLE, OPTIMISTIC);
}
@@ -493,8 +492,7 @@ public class TxRollbackAsyncTest extends GridCommonAbstractTest {
*/
@Test
public void testEnlistManyWriteOptimistic() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- return; // Optimistic transactions are not supported by MVCC.
+ Assume.assumeFalse(MvccFeatureChecker.forcedMvcc()); // Optimistic transactions are not supported by MVCC.
testEnlistMany(true, SERIALIZABLE, OPTIMISTIC);
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnIncorrectParamsTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnIncorrectParamsTest.java
index e08bfbe..48d29a0 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnIncorrectParamsTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnIncorrectParamsTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTimeoutTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTimeoutTest.java
index de47804..bb85776 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTimeoutTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTimeoutTest.java
@@ -53,14 +53,15 @@ import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.lang.IgniteInClosure;
import org.apache.ignite.plugin.extensions.communication.Message;
import org.apache.ignite.testframework.GridTestUtils;
-import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.GridTestUtils.SF;
+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;
import org.apache.ignite.transactions.TransactionDeadlockException;
import org.apache.ignite.transactions.TransactionIsolation;
import org.apache.ignite.transactions.TransactionTimeoutException;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -129,8 +130,7 @@ public class TxRollbackOnTimeoutTest extends GridCommonAbstractTest {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7388");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7388", MvccFeatureChecker.forcedMvcc());
super.beforeTest();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTopologyChangeTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTopologyChangeTest.java
index 980715f6..3c07498 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTopologyChangeTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/transactions/TxRollbackOnTopologyChangeTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -17,7 +17,6 @@
package org.apache.ignite.internal.processors.cache.transactions;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.List;
import java.util.Random;
import java.util.concurrent.Callable;
@@ -25,15 +24,12 @@ import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicIntegerArray;
-import org.apache.ignite.Ignite;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.configuration.TransactionConfiguration;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.TestRecordingCommunicationSpi;
-import org.apache.ignite.internal.processors.cache.GridCacheFuture;
-import org.apache.ignite.internal.util.typedef.G;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
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 a49f1d8..b75c44e 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
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbPutGetAbstractTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbPutGetAbstractTest.java
index 415e754..6d48ead 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbPutGetAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/database/IgniteDbPutGetAbstractTest.java
@@ -45,6 +45,7 @@ import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.MvccFeatureChecker;
import org.junit.Assert;
+import org.junit.Assume;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -470,8 +471,7 @@ public abstract class IgniteDbPutGetAbstractTest extends IgniteDbAbstractTest {
*/
@Test
public void testSizeClear() throws Exception {
- if (MvccFeatureChecker.forcedMvcc())
- fail("https://issues.apache.org/jira/browse/IGNITE-7952");
+ Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-7952", MvccFeatureChecker.forcedMvcc());
final IgniteCache<Integer, DbValue> cache = cache(DEFAULT_CACHE_NAME);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultiThreadedSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultiThreadedSelfTest.java
index 41b61e8..27f55aa 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultiThreadedSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultiThreadedSelfTest.java
@@ -30,6 +30,7 @@ import org.apache.ignite.lang.IgniteFuture;
import org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -84,10 +85,9 @@ public class DataStreamerMultiThreadedSelfTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1602")
@Test
public void testStartStopIgnitesDynamicCache() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1602");
-
dynamicCache = true;
startStopIgnites();
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultinodeCreateCacheTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultinodeCreateCacheTest.java
index 6e12907..6fa47a2 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultinodeCreateCacheTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerMultinodeCreateCacheTest.java
@@ -26,6 +26,7 @@ import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -53,10 +54,9 @@ public class DataStreamerMultinodeCreateCacheTest extends GridCommonAbstractTest
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1603")
@Test
public void testCreateCacheAndStream() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1603");
-
final int THREADS = 5;
startGrids(THREADS);
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryMultiNodeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryMultiNodeSelfTest.java
index fb58215..c1f64c9 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryMultiNodeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryMultiNodeSelfTest.java
@@ -16,6 +16,7 @@
package org.apache.ignite.internal.processors.igfs;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -33,8 +34,9 @@ public class IgfsPrimaryMultiNodeSelfTest extends IgfsPrimarySelfTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-8823")
@Test
@Override public void testCreateConsistencyMultithreaded() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-8823");
+ // No-op
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryRelaxedConsistencyMultiNodeSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryRelaxedConsistencyMultiNodeSelfTest.java
index 375de8a..aba94f6 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryRelaxedConsistencyMultiNodeSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsPrimaryRelaxedConsistencyMultiNodeSelfTest.java
@@ -16,6 +16,7 @@
package org.apache.ignite.internal.processors.igfs;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -30,10 +31,9 @@ public class IgfsPrimaryRelaxedConsistencyMultiNodeSelfTest extends IgfsPrimaryR
return 4;
}
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-8823")
@Test
@Override public void testCreateConsistencyMultithreaded() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-8823");
-
super.testCreateConsistencyMultithreaded();
}
}
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteDevOnlyLogTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteDevOnlyLogTest.java
index 3b5cd10..0d3137e 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteDevOnlyLogTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteDevOnlyLogTest.java
@@ -25,6 +25,7 @@ import org.apache.ignite.lang.IgniteRunnable;
import org.apache.ignite.resources.IgniteInstanceResource;
import org.apache.ignite.testframework.GridStringLogger;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -58,10 +59,9 @@ public class IgniteDevOnlyLogTest extends GridCommonAbstractTest {
}
/** Check that dev-only messages appear in the log. */
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9328")
@Test
public void testDevOnlyQuietMessage() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9328");
-
additionalArgs = Collections.singletonList("-D" + IgniteSystemProperties.IGNITE_QUIET + "=true");
log = new GridStringLogger(false, grid(0).log());
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryCrashDetectionSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryCrashDetectionSelfTest.java
index 24ccc33..8747aac 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryCrashDetectionSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryCrashDetectionSelfTest.java
@@ -35,6 +35,7 @@ import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.testframework.junits.IgniteTestResources;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.jetbrains.annotations.Nullable;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -116,10 +117,9 @@ public class IpcSharedMemoryCrashDetectionSelfTest extends GridCommonAbstractTes
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1386")
@Test
public void testIgfsClientServerInteractionsUponServerKilling() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-1386");
-
Collection<Integer> shmemIdsBeforeInteractions = IpcSharedMemoryUtils.sharedMemoryIds();
info("Shared memory IDs before starting server-client interactions: " + shmemIdsBeforeInteractions);
diff --git a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryMultiThreadedTest.java b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryMultiThreadedTest.java
index 753baad..2e6c611 100644
--- a/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryMultiThreadedTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryMultiThreadedTest.java
@@ -55,6 +55,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.junits.common.GridCommonAbstractTest;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -217,20 +218,18 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
/**
* @throws Exception If any error occurs.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1123")
@Test
public void testMultiThreadedClientsServersRestart() throws Throwable {
- fail("https://issues.apache.org/jira/browse/IGNITE-1123");
-
multiThreadedClientsServersRestart(GRID_CNT, CLIENT_GRID_CNT);
}
/**
* @throws Exception If any error occurs.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-1123")
@Test
public void testMultiThreadedServersRestart() throws Throwable {
- fail("https://issues.apache.org/jira/browse/IGNITE-1123");
-
multiThreadedClientsServersRestart(GRID_CNT * 2, 0);
}
@@ -500,10 +499,9 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10198")
@Test
public void testCustomEventOnJoinCoordinatorStop() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10198");
-
for (int k = 0; k < 10; k++) {
log.info("Iteration: " + k);
@@ -599,10 +597,9 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10198")
@Test
public void testClientContinuousQueryCoordinatorStop() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10198");
-
for (int k = 0; k < 10; k++) {
log.info("Iteration: " + k);
@@ -671,10 +668,9 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-10249")
@Test
public void testCustomEventNodeRestart() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-10249");
-
clientFlagGlobal = false;
Ignite ignite = startGrid(0);
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IndexingCachePartitionLossPolicySelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IndexingCachePartitionLossPolicySelfTest.java
index 46c3a0b..7deb410 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IndexingCachePartitionLossPolicySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IndexingCachePartitionLossPolicySelfTest.java
@@ -36,12 +36,12 @@ public class IndexingCachePartitionLossPolicySelfTest extends IgniteCachePartiti
}
/** {@inheritDoc} */
- protected void checkQueryPasses(Ignite node, boolean loc, int... parts) {
+ @Override protected void checkQueryPasses(Ignite node, boolean loc, int... parts) {
executeQuery(node, loc, parts);
}
/** {@inheritDoc} */
- protected void checkQueryFails(Ignite node, boolean loc, int... parts) {
+ @Override protected void checkQueryFails(Ignite node, boolean loc, int... parts) {
// TODO: Local queries ignore partition loss, see https://issues.apache.org/jira/browse/IGNITE-7039.
if (loc)
return;
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/IgniteCacheQueryNodeRestartSelfTest2.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/IgniteCacheQueryNodeRestartSelfTest2.java
index 9460417..a167bea 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/IgniteCacheQueryNodeRestartSelfTest2.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/IgniteCacheQueryNodeRestartSelfTest2.java
@@ -1,12 +1,12 @@
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
- *
+ *
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/modules/mqtt/src/test/java/org/apache/ignite/stream/mqtt/IgniteMqttStreamerTest.java b/modules/mqtt/src/test/java/org/apache/ignite/stream/mqtt/IgniteMqttStreamerTest.java
index f35fd6b..2180d02 100644
--- a/modules/mqtt/src/test/java/org/apache/ignite/stream/mqtt/IgniteMqttStreamerTest.java
+++ b/modules/mqtt/src/test/java/org/apache/ignite/stream/mqtt/IgniteMqttStreamerTest.java
@@ -16,6 +16,9 @@
package org.apache.ignite.stream.mqtt;
+import com.github.rholder.retry.StopStrategies;
+import com.github.rholder.retry.WaitStrategies;
+import com.google.common.base.Splitter;
import java.net.ServerSocket;
import java.util.ArrayList;
import java.util.Arrays;
@@ -26,7 +29,6 @@ import java.util.TreeSet;
import java.util.UUID;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
-
import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.broker.region.policy.PolicyEntry;
import org.apache.activemq.broker.region.policy.PolicyMap;
@@ -43,15 +45,12 @@ import org.apache.ignite.lang.IgniteInClosure;
import org.apache.ignite.stream.StreamMultipleTupleExtractor;
import org.apache.ignite.stream.StreamSingleTupleExtractor;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
-
-import com.github.rholder.retry.StopStrategies;
-import com.github.rholder.retry.WaitStrategies;
-import com.google.common.base.Splitter;
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -194,10 +193,9 @@ public class IgniteMqttStreamerTest extends GridCommonAbstractTest {
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-2255")
@Test
public void testConnectionStatusWithBrokerDisconnection() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-2255");
-
// Configure streamer.
streamer.setSingleTupleExtractor(singleTupleExtractor());
streamer.setTopic(SINGLE_TOPIC_NAME);
diff --git a/modules/spring/src/test/java/org/apache/ignite/cache/spring/GridSpringCacheManagerMultiJvmSelfTest.java b/modules/spring/src/test/java/org/apache/ignite/cache/spring/GridSpringCacheManagerMultiJvmSelfTest.java
index 4bcc905..c2fae44 100644
--- a/modules/spring/src/test/java/org/apache/ignite/cache/spring/GridSpringCacheManagerMultiJvmSelfTest.java
+++ b/modules/spring/src/test/java/org/apache/ignite/cache/spring/GridSpringCacheManagerMultiJvmSelfTest.java
@@ -28,6 +28,7 @@ import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.testframework.GridTestUtils;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.apache.ignite.testframework.junits.multijvm.IgniteProcessProxy;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@@ -57,10 +58,9 @@ public class GridSpringCacheManagerMultiJvmSelfTest extends GridCommonAbstractTe
/**
* @throws Exception If failed.
*/
+ @Ignore("https://issues.apache.org/jira/browse/IGNITE-9488")
@Test
public void testSyncCache() throws Exception {
- fail("https://issues.apache.org/jira/browse/IGNITE-9488");
-
IgniteEx loc = startGrid(0);
final int threads = 4;