Repository: ignite Updated Branches: refs/heads/master 33e6135c8 -> f80981ac4
IGNITE-10483: MVCC: Enlist requests failure handling. Tests fixed. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f80981ac Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f80981ac Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f80981ac Branch: refs/heads/master Commit: f80981ac4886f33a96055b5253210fd9357ce916 Parents: 33e6135 Author: Andrey V. Mashenkov <[email protected]> Authored: Tue Dec 11 14:12:21 2018 +0300 Committer: Igor Seliverstov <[email protected]> Committed: Tue Dec 11 14:12:21 2018 +0300 ---------------------------------------------------------------------- .../CacheEntryProcessorExternalizableFailedTest.java | 15 +++++++-------- .../CacheEntryProcessorNonSerializableTest.java | 7 +++++++ 2 files changed, 14 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/f80981ac/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java index 9c15958..96f6112 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorExternalizableFailedTest.java @@ -110,6 +110,13 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr } /** {@inheritDoc} */ + @Override protected void afterTestsStopped() throws Exception { + stopAllGrids(); + + super.afterTestsStopped(); + } + + /** {@inheritDoc} */ @Override protected void beforeTest() throws Exception { super.beforeTest(); @@ -488,8 +495,6 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr */ @Test public void testMvccPessimisticOnePhaseCommit() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10483"); - CacheConfiguration ccfg = cacheConfiguration(PRIMARY_SYNC, 1).setAtomicityMode(TRANSACTIONAL_SNAPSHOT); doTestInvokeTest(ccfg, PESSIMISTIC, REPEATABLE_READ); @@ -521,8 +526,6 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr */ @Test public void testMvccPessimisticOnePhaseCommitFullSync() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10483"); - CacheConfiguration ccfg = cacheConfiguration(FULL_SYNC, 1).setAtomicityMode(TRANSACTIONAL_SNAPSHOT); doTestInvokeTest(ccfg, PESSIMISTIC, REPEATABLE_READ); @@ -554,8 +557,6 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr */ @Test public void testMvccPessimistic() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10483"); - CacheConfiguration ccfg = cacheConfiguration(PRIMARY_SYNC, 2).setAtomicityMode(TRANSACTIONAL_SNAPSHOT); doTestInvokeTest(ccfg, PESSIMISTIC, REPEATABLE_READ); @@ -587,8 +588,6 @@ public class CacheEntryProcessorExternalizableFailedTest extends GridCommonAbstr */ @Test public void testMvccPessimisticFullSync() throws Exception { - fail("https://issues.apache.org/jira/browse/IGNITE-10483"); - CacheConfiguration ccfg = cacheConfiguration(FULL_SYNC, 2).setAtomicityMode(TRANSACTIONAL_SNAPSHOT); doTestInvokeTest(ccfg, PESSIMISTIC, REPEATABLE_READ); http://git-wip-us.apache.org/repos/asf/ignite/blob/f80981ac/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java index 00dcc1f..ea3adde 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheEntryProcessorNonSerializableTest.java @@ -106,6 +106,13 @@ public class CacheEntryProcessorNonSerializableTest extends GridCommonAbstractTe startGrid(getServerNodeCount()); } + /** {@inheritDoc} */ + @Override protected void afterTestsStopped() throws Exception { + stopAllGrids(); + + super.afterTestsStopped(); + } + /** * @return Server nodes. */
