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 6879517460 for ; Fri, 10 Apr 2015 08:00:55 +0000 (UTC) Received: (qmail 86341 invoked by uid 500); 10 Apr 2015 07:59:57 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 86274 invoked by uid 500); 10 Apr 2015 07:59:56 -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 86257 invoked by uid 99); 10 Apr 2015 07:59:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 07:59:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Apr 2015 07:59:54 +0000 Received: (qmail 85851 invoked by uid 99); 10 Apr 2015 07:59:33 -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; Fri, 10 Apr 2015 07:59:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B18B6E00C4; Fri, 10 Apr 2015 07:59:33 +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: Fri, 10 Apr 2015 07:59:49 -0000 Message-Id: <8bb55c88ba2c4df68bffba1ce09d2ed0@git.apache.org> In-Reply-To: <97dc17ace2c34403b1f3006616b43f0e@git.apache.org> References: <97dc17ace2c34403b1f3006616b43f0e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [17/50] [abbrv] incubator-ignite git commit: # IGNITE-30 Fix broken test ClusterMetricsSnapshotSerializeSelfTest. X-Virus-Checked: Checked by ClamAV on apache.org # IGNITE-30 Fix broken test ClusterMetricsSnapshotSerializeSelfTest. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ca568f5b Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ca568f5b Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ca568f5b Branch: refs/heads/ignite-625-1 Commit: ca568f5b4b1e0d181bd19b86f8b3f362ea05c2d6 Parents: 8b63c8a Author: sevdokimov Authored: Thu Apr 9 12:52:57 2015 +0300 Committer: sevdokimov Committed: Thu Apr 9 12:53:11 2015 +0300 ---------------------------------------------------------------------- .../java/org/apache/ignite/internal/ClusterMetricsSnapshot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ca568f5b/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java b/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java index 558b0c3..8cfdd8a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/ClusterMetricsSnapshot.java @@ -1311,7 +1311,7 @@ public class ClusterMetricsSnapshot implements ClusterMetrics { assert !buf.hasRemaining() : "Invalid metrics size [expected=" + METRICS_SIZE + ", actual=" + (buf.position() - off) + ']'; - return off; + return buf.position(); } /**