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 55DD62009F3 for ; Fri, 20 May 2016 18:29:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 548F3160A2D; Fri, 20 May 2016 16:29:39 +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 34BFF160A2A for ; Fri, 20 May 2016 18:29:38 +0200 (CEST) Received: (qmail 61492 invoked by uid 500); 20 May 2016 16:29:37 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 61472 invoked by uid 99); 20 May 2016 16:29:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 16:29:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B54871A58B1 for ; Fri, 20 May 2016 16:29:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id crmDw3l_XsxW for ; Fri, 20 May 2016 16:29:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 9482360E5B for ; Fri, 20 May 2016 16:29:34 +0000 (UTC) Received: (qmail 60247 invoked by uid 99); 20 May 2016 16:29: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, 20 May 2016 16:29:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 91819E0579; Fri, 20 May 2016 16:29:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: klund@apache.org To: commits@geode.incubator.apache.org Date: Fri, 20 May 2016 16:30:09 -0000 Message-Id: <014960877ecc466099427edf894956fb@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [38/49] incubator-geode git commit: GEODE-1405: Fixing shouldRecoverPersistentIndexWhenDataStillInQueue archived-at: Fri, 20 May 2016 16:29:39 -0000 GEODE-1405: Fixing shouldRecoverPersistentIndexWhenDataStillInQueue The changes in 3e8a610e99bc005bcc56c378e3d1e2274a3d468c broke this test. It just needs to wait for the flush *after* the data region is created. Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/09b3c036 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/09b3c036 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/09b3c036 Branch: refs/heads/feature/GEODE-835-test Commit: 09b3c036e083080306e164a56f6a63f408b40e71 Parents: 3e181e8 Author: Dan Smith Authored: Tue May 17 11:43:53 2016 -0700 Committer: Dan Smith Committed: Tue May 17 11:43:53 2016 -0700 ---------------------------------------------------------------------- .../gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/09b3c036/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java ---------------------------------------------------------------------- diff --git a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java index fe754a4..ef7f808 100644 --- a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java +++ b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/LuceneIndexCreationIntegrationTest.java @@ -185,9 +185,9 @@ public class LuceneIndexCreationIntegrationTest extends LuceneIntegrationTest { cache.close(); createCache(); createIndex("field1", "field2"); - verifyIndexFinishFlushing(INDEX_NAME, REGION_NAME); dataRegion = cache.createRegionFactory(RegionShortcut.PARTITION_PERSISTENT) .create(REGION_NAME); + verifyIndexFinishFlushing(INDEX_NAME, REGION_NAME); LuceneQuery query = luceneService.createLuceneQueryFactory() .create(INDEX_NAME, REGION_NAME, "field1:world");