Repository: ignite Updated Branches: refs/heads/ignite-5901 [created] de49c95f4
IGNITE-5901 - Debugging Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/de49c95f Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/de49c95f Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/de49c95f Branch: refs/heads/ignite-5901 Commit: de49c95f4ed3c21c8981c081b7b41c8299ee9876 Parents: 3919d80 Author: Alexey Goncharuk <alexey.goncha...@gmail.com> Authored: Thu Aug 10 13:58:32 2017 +0300 Committer: Alexey Goncharuk <alexey.goncha...@gmail.com> Committed: Thu Aug 10 13:58:32 2017 +0300 ---------------------------------------------------------------------- .../db/wal/IgniteWalRecoveryTest.java | 32 ++++++++++---------- .../db/wal/IgniteWalRecoveryTest2.java | 24 +++++++++++++++ .../db/wal/IgniteWalRecoveryTest3.java | 24 +++++++++++++++ .../db/wal/IgniteWalRecoveryTest4.java | 24 +++++++++++++++ .../db/wal/IgniteWalRecoveryTest5.java | 24 +++++++++++++++ .../IgnitePdsWithIndexingCoreTestSuite.java | 28 +++++++++++------ 6 files changed, 130 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest.java index c5d6a8b..e603910 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest.java @@ -181,7 +181,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testWalBig() throws Exception { + public void _testWalBig() throws Exception { IgniteEx ignite = startGrid(1); ignite.active(true); @@ -223,7 +223,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testWalBigObjectNodeCancel() throws Exception { + public void _testWalBigObjectNodeCancel() throws Exception { final int MAX_SIZE_POWER = 21; IgniteEx ignite = startGrid(1); @@ -261,7 +261,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception If fail. */ - public void testSwitchClassLoader() throws Exception { + public void _testSwitchClassLoader() throws Exception { try { final IgniteEx igniteEx = startGrid(1); @@ -305,7 +305,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testWalSimple() throws Exception { + public void _testWalSimple() throws Exception { try { IgniteEx ignite = startGrid(1); @@ -385,7 +385,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception If fail. */ - public void testWalLargeValue() throws Exception { + public void _testWalLargeValue() throws Exception { try { IgniteEx ignite = startGrid(1); @@ -467,7 +467,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testHugeCheckpointRecord() throws Exception { + public void _testHugeCheckpointRecord() throws Exception { try { final IgniteEx ignite = startGrid(1); @@ -519,7 +519,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { private void checkWalRolloverMultithreaded() throws Exception { walSegmentSize = 2 * 1024 * 1024; - final long endTime = System.currentTimeMillis() + 2 * 60 * 1000; + final long endTime = System.currentTimeMillis() + 20 * 60 * 1000; try { IgniteEx ignite = startGrid(1); @@ -547,7 +547,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception If fail. */ - public void testWalRenameDirSimple() throws Exception { + public void _testWalRenameDirSimple() throws Exception { try { IgniteEx ignite = startGrid(1); @@ -609,7 +609,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testRecoveryNoCheckpoint() throws Exception { + public void _testRecoveryNoCheckpoint() throws Exception { try { IgniteEx ctrlGrid = startGrid(0); @@ -659,7 +659,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testRecoveryLargeNoCheckpoint() throws Exception { + public void _testRecoveryLargeNoCheckpoint() throws Exception { try { IgniteEx ctrlGrid = startGrid(0); @@ -710,13 +710,13 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** {@inheritDoc} */ @Override protected long getTestTimeout() { - return TimeUnit.MINUTES.toMillis(20); + return TimeUnit.MINUTES.toMillis(200); } /** * @throws Exception if failed. */ - public void testRandomCrash() throws Exception { + public void _testRandomCrash() throws Exception { try { IgniteEx ctrlGrid = startGrid(0); @@ -756,7 +756,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testLargeRandomCrash() throws Exception { + public void _testLargeRandomCrash() throws Exception { try { IgniteEx ctrlGrid = startGrid(0); @@ -806,7 +806,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception If failed. */ - public void testDestroyCache() throws Exception { + public void _testDestroyCache() throws Exception { try { IgniteEx ignite = startGrid(1); @@ -831,7 +831,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception If fail. */ - public void testEvictPartition() throws Exception { + public void _testEvictPartition() throws Exception { try { Ignite ignite1 = startGrid("node1"); @@ -875,7 +875,7 @@ public class IgniteWalRecoveryTest extends GridCommonAbstractTest { /** * @throws Exception if failed. */ - public void testApplyDeltaRecords() throws Exception { + public void _testApplyDeltaRecords() throws Exception { try { IgniteEx ignite0 = (IgniteEx)startGrid("node0"); http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest2.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest2.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest2.java new file mode 100644 index 0000000..8296f40 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest2.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.processors.cache.persistence.db.wal; + +/** + * + */ +public class IgniteWalRecoveryTest2 extends IgniteWalRecoveryTest { +} http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest3.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest3.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest3.java new file mode 100644 index 0000000..d37ba5b --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest3.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.processors.cache.persistence.db.wal; + +/** + * + */ +public class IgniteWalRecoveryTest3 extends IgniteWalRecoveryTest { +} http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest4.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest4.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest4.java new file mode 100644 index 0000000..ded580d --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest4.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.processors.cache.persistence.db.wal; + +/** + * + */ +public class IgniteWalRecoveryTest4 extends IgniteWalRecoveryTest { +} http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest5.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest5.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest5.java new file mode 100644 index 0000000..70b4cc0 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/IgniteWalRecoveryTest5.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.processors.cache.persistence.db.wal; + +/** + * + */ +public class IgniteWalRecoveryTest5 extends IgniteWalRecoveryTest { +} http://git-wip-us.apache.org/repos/asf/ignite/blob/de49c95f/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgnitePdsWithIndexingCoreTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgnitePdsWithIndexingCoreTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgnitePdsWithIndexingCoreTestSuite.java index bb9c9d1..019d84c 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgnitePdsWithIndexingCoreTestSuite.java +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgnitePdsWithIndexingCoreTestSuite.java @@ -26,6 +26,10 @@ import org.apache.ignite.internal.processors.cache.persistence.db.IgnitePdsPageE import org.apache.ignite.internal.processors.cache.persistence.db.file.IgnitePdsCacheIntegrationTest; import org.apache.ignite.internal.processors.cache.persistence.db.file.IgnitePdsNoActualWalHistoryTest; import org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest; +import org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest2; +import org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest3; +import org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest4; +import org.apache.ignite.internal.processors.cache.persistence.db.wal.IgniteWalRecoveryTest5; import org.apache.ignite.internal.processors.cache.persistence.db.wal.WalRecoveryTxLogicalRecordsTest; /** @@ -39,18 +43,22 @@ public class IgnitePdsWithIndexingCoreTestSuite extends TestSuite { public static TestSuite suite() throws Exception { TestSuite suite = new TestSuite("Ignite Persistent Store With Indexing Test Suite"); - suite.addTestSuite(IgnitePdsCacheIntegrationTest.class); - suite.addTestSuite(IgnitePdsPageEvictionTest.class); - suite.addTestSuite(IgnitePdsMultiNodePutGetRestartTest.class); - suite.addTestSuite(IgnitePersistentStoreCacheGroupsTest.class); - suite.addTestSuite(WalRecoveryTxLogicalRecordsTest.class); +// suite.addTestSuite(IgnitePdsCacheIntegrationTest.class); +// suite.addTestSuite(IgnitePdsPageEvictionTest.class); +// suite.addTestSuite(IgnitePdsMultiNodePutGetRestartTest.class); +// suite.addTestSuite(IgnitePersistentStoreCacheGroupsTest.class); +// suite.addTestSuite(WalRecoveryTxLogicalRecordsTest.class); suite.addTestSuite(IgniteWalRecoveryTest.class); - suite.addTestSuite(IgnitePdsNoActualWalHistoryTest.class); - suite.addTestSuite(IgnitePdsAtomicCacheRebalancingTest.class); - suite.addTestSuite(IgnitePdsTxCacheRebalancingTest.class); - - suite.addTestSuite(IgnitePdsBinaryMetadataOnClusterRestartTest.class); + suite.addTestSuite(IgniteWalRecoveryTest2.class); + suite.addTestSuite(IgniteWalRecoveryTest3.class); + suite.addTestSuite(IgniteWalRecoveryTest4.class); + suite.addTestSuite(IgniteWalRecoveryTest5.class); +// suite.addTestSuite(IgnitePdsNoActualWalHistoryTest.class); +// suite.addTestSuite(IgnitePdsAtomicCacheRebalancingTest.class); +// suite.addTestSuite(IgnitePdsTxCacheRebalancingTest.class); +// +// suite.addTestSuite(IgnitePdsBinaryMetadataOnClusterRestartTest.class); return suite; }