Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 646D217676 for ; Thu, 23 Apr 2015 14:40:55 +0000 (UTC) Received: (qmail 9819 invoked by uid 500); 23 Apr 2015 14:40:49 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 9786 invoked by uid 500); 23 Apr 2015 14:40:49 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 9769 invoked by uid 99); 23 Apr 2015 14:40:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 14:40:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 14:40:44 +0000 Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id A1CEF25F9E for ; Thu, 23 Apr 2015 14:40:08 +0000 (UTC) Received: (qmail 8215 invoked by uid 99); 23 Apr 2015 14:40:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 14:40:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4BC19E17B0; Thu, 23 Apr 2015 14:40:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vozerov@apache.org To: commits@ignite.incubator.apache.org Date: Thu, 23 Apr 2015 14:40:17 -0000 Message-Id: In-Reply-To: <64b7f606bb644cf98c211795338e4286@git.apache.org> References: <64b7f606bb644cf98c211795338e4286@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/36] incubator-ignite git commit: ignite-446 X-Virus-Checked: Checked by ClamAV on apache.org ignite-446 Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dbbc30e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dbbc30e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dbbc30e5 Branch: refs/heads/ignite-gg-9702 Commit: dbbc30e56c1cd88b8a14119448d2b1ee0164f3dd Parents: 921a40c Author: avinogradov Authored: Wed Apr 15 17:35:38 2015 +0300 Committer: avinogradov Committed: Wed Apr 15 17:35:38 2015 +0300 ---------------------------------------------------------------------- .../ignite/testsuites/IgniteCacheTestSuite.java | 3 ++ .../IgniteTopologyValidatorTestSuit.java | 43 ++++++++++++++++++++ 2 files changed, 46 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dbbc30e5/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java index e167614..4cc71e2 100644 --- a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite.java @@ -341,6 +341,9 @@ public class IgniteCacheTestSuite extends TestSuite { // Cache metrics. suite.addTest(IgniteCacheMetricsSelfTestSuite.suite()); + // Topology validator. + suite.addTest(IgniteTopologyValidatorTestSuit.suite()); + // Eviction. suite.addTest(IgniteCacheEvictionSelfTestSuite.suite()); http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dbbc30e5/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java new file mode 100644 index 0000000..b100127 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteTopologyValidatorTestSuit.java @@ -0,0 +1,43 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.internal.processors.cache.*; + +/** + * Topology validator test suite. + */ +public class IgniteTopologyValidatorTestSuit extends TestSuite { + /** + * @return Topology validator tests suite. + * @throws Exception If failed. + */ + public static TestSuite suite() throws Exception { + TestSuite suite = new TestSuite("Topology validator Test Suite"); + + suite.addTest(new TestSuite(IgniteTopologyValidatorNearPartitionedAtomicCacheTest.class)); + suite.addTest(new TestSuite(IgniteTopologyValidatorNearPartitionedTxCacheTest.class)); + suite.addTest(new TestSuite(IgniteTopologyValidatorPartitionedAtomicCacheTest.class)); + suite.addTest(new TestSuite(IgniteTopologyValidatorPartitionedTxCacheTest.class)); + suite.addTest(new TestSuite(IgniteTopologyValidatorReplicatedAtomicCacheTest.class)); + suite.addTest(new TestSuite(IgniteTopologyValidatorReplicatedTxCacheTest.class)); + + return suite; + } +} \ No newline at end of file