Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A3756200BA7 for ; Fri, 21 Oct 2016 17:54:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A230B160B26; Fri, 21 Oct 2016 15:54:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A7519160B0A for ; Fri, 21 Oct 2016 17:54:30 +0200 (CEST) Received: (qmail 86776 invoked by uid 500); 21 Oct 2016 15:54:29 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 85778 invoked by uid 99); 21 Oct 2016 15:54:29 -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, 21 Oct 2016 15:54:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 16C55E69A3; Fri, 21 Oct 2016 15:54:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.apache.org Date: Fri, 21 Oct 2016 15:54:48 -0000 Message-Id: <53cb2f2a410b48948c3efa302b1a15d2@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [21/50] [abbrv] ignite git commit: ignite-3621 Fixed 'testEvictExpired'. archived-at: Fri, 21 Oct 2016 15:54:31 -0000 ignite-3621 Fixed 'testEvictExpired'. (cherry picked from commit a4d7aa3) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ad613afd Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ad613afd Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ad613afd Branch: refs/heads/ignite-comm-balance Commit: ad613afd7165ed2d8bf0a62805fc2506dfe6c59a Parents: 062b9b6 Author: sboikov Authored: Thu Sep 29 12:04:44 2016 +0300 Committer: sboikov Committed: Thu Sep 29 14:16:31 2016 +0300 ---------------------------------------------------------------------- .../cache/IgniteCacheConfigVariationsFullApiTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/ad613afd/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheConfigVariationsFullApiTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheConfigVariationsFullApiTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheConfigVariationsFullApiTest.java index 2ca09c8..6b0e193 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheConfigVariationsFullApiTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheConfigVariationsFullApiTest.java @@ -3336,7 +3336,12 @@ public class IgniteCacheConfigVariationsFullApiTest extends IgniteCacheConfigVar boolean wait = waitForCondition(new GridAbsPredicate() { @Override public boolean apply() { - return cache.localPeek(key) == null; + for (int i = 0; i < gridCount(); i++) { + if (peek(jcache(i), key) != null) + return false; + } + + return true; } }, ttl + 1000);