Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-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 340FB196CA for ; Tue, 12 Apr 2016 17:42:56 +0000 (UTC) Received: (qmail 79428 invoked by uid 500); 12 Apr 2016 17:42:56 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 79326 invoked by uid 500); 12 Apr 2016 17:42:56 -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 79237 invoked by uid 99); 12 Apr 2016 17:42:56 -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; Tue, 12 Apr 2016 17:42:56 +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 9D5061A09EC for ; Tue, 12 Apr 2016 17:42:55 +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 SX-7w56iuTpu for ; Tue, 12 Apr 2016 17:42:54 +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 41A7C5F5A1 for ; Tue, 12 Apr 2016 17:42:53 +0000 (UTC) Received: (qmail 77845 invoked by uid 99); 12 Apr 2016 17:42:52 -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; Tue, 12 Apr 2016 17:42:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2DD64E0158; Tue, 12 Apr 2016 17:42:52 +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: Tue, 12 Apr 2016 17:43:01 -0000 Message-Id: <67f178dd838a4ddf8a0ff81fef57471d@git.apache.org> In-Reply-To: <4607511a0abe406dacea4b90f6304649@git.apache.org> References: <4607511a0abe406dacea4b90f6304649@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/50] [abbrv] incubator-geode git commit: GEODE-1184: Removed misplaced System.out and renamed methods GEODE-1184: Removed misplaced System.out and renamed methods Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/7413804d Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/7413804d Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/7413804d Branch: refs/heads/feature/GEODE-1162 Commit: 7413804dec6acc1077618d50459e07200ced8336 Parents: 36cb06e Author: Jason Huynh Authored: Mon Apr 4 15:03:28 2016 -0700 Committer: Jason Huynh Committed: Wed Apr 6 16:51:16 2016 -0700 ---------------------------------------------------------------------- .../LuceneFunctionReadPathDUnitTest.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7413804d/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java index 901b363..f6fcf8a 100644 --- a/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java +++ b/geode-lucene/src/test/java/com/gemstone/gemfire/cache/lucene/internal/distributed/LuceneFunctionReadPathDUnitTest.java @@ -79,9 +79,9 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase { private void e2eTextSearchForRegionType(RegionShortcut type) { final String regionName = type.toString(); - createPartitionRegionAndIndex(server1, regionName, type); + createRegionAndIndex(server1, regionName, type); putDataInRegion(server1, regionName); - createPartitionRegionAndIndex(server2, regionName, type); + createRegionAndIndex(server2, regionName, type); // Make sure we can search from both members executeTextSearch(server1, regionName); executeTextSearch(server2, regionName); @@ -90,7 +90,7 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase { // Make sure the search still works executeTextSearch(server1, regionName); executeTextSearch(server2, regionName); - destroyRegion(server2, regionName); + destroyPartitionRegion(server2, regionName); } private void rebalanceRegion(VM vm) { @@ -157,8 +157,8 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase { vm.invoke(createSomeData); } - private void createPartitionRegionAndIndex(VM vm, final String regionName, final RegionShortcut type) { - SerializableCallable createPartitionRegion = new SerializableCallable("createRegionAndIndex") { + private void createRegionAndIndex(VM vm, final String regionName, final RegionShortcut type) { + SerializableCallable createRegion = new SerializableCallable("createRegionAndIndex") { private static final long serialVersionUID = 1L; public Object call() throws Exception { @@ -168,7 +168,6 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase { service.createIndex(INDEX_NAME, regionName, "text"); RegionFactory regionFactory = cache.createRegionFactory(type); if (regionName.contains("OVERFLOW")) { - System.out.println("yello"); EvictionAttributesImpl evicAttr = new EvictionAttributesImpl().setAction(EvictionAction.OVERFLOW_TO_DISK); evicAttr.setAlgorithm(EvictionAlgorithm.LRU_ENTRY).setMaximum(1); regionFactory.setEvictionAttributes(evicAttr); @@ -177,11 +176,11 @@ public class LuceneFunctionReadPathDUnitTest extends CacheTestCase { return null; } }; - vm.invoke(createPartitionRegion); + vm.invoke(createRegion); } - private void destroyRegion(VM vm, final String regionName) { - SerializableCallable createPartitionRegion = new SerializableCallable("destroyRegion") { + private void destroyPartitionRegion(VM vm, final String regionName) { + SerializableCallable createPartitionRegion = new SerializableCallable("destroyPartitionRegion") { private static final long serialVersionUID = 1L; public Object call() throws Exception {