incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: [1/2] git commit: Trying to reproduce a Facet error.
Date Thu, 02 Jan 2014 13:18:26 GMT
On Mon, Dec 30, 2013 at 10:39 PM,  <amccurry@apache.org> wrote:
> Updated Branches:
>   refs/heads/apache-blur-0.2 ddbab1655 -> 4f276ffa3
>
>
> Trying to reproduce a Facet error.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
> Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/b0bccbb3
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/b0bccbb3
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/b0bccbb3
>
> Branch: refs/heads/apache-blur-0.2
> Commit: b0bccbb34905c1138b017240dc2c75453425d8f4
> Parents: ddbab16
> Author: Aaron McCurry <amccurry@gmail.com>
> Authored: Mon Dec 30 22:38:26 2013 -0500
> Committer: Aaron McCurry <amccurry@gmail.com>
> Committed: Mon Dec 30 22:38:26 2013 -0500
>
> ----------------------------------------------------------------------
>  .../org/apache/blur/thrift/BlurClusterTest.java | 37 +++++++++++++++++---
>  .../blur/lucene/search/FacetExecutor.java       | 13 +++++--
>  2 files changed, 43 insertions(+), 7 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b0bccbb3/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
> ----------------------------------------------------------------------
> diff --git a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
> index 7176461..17e0828 100644
> --- a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
> +++ b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java
> @@ -33,6 +33,7 @@ import java.util.ArrayList;
>  import java.util.Arrays;
>  import java.util.List;
>  import java.util.Map;
> +import java.util.Random;
>  import java.util.UUID;
>  import java.util.concurrent.TimeUnit;
>  import java.util.concurrent.atomic.AtomicBoolean;
> @@ -52,6 +53,7 @@ import org.apache.blur.thrift.generated.BlurResult;
>  import org.apache.blur.thrift.generated.BlurResults;
>  import org.apache.blur.thrift.generated.ColumnDefinition;
>  import org.apache.blur.thrift.generated.ErrorType;
> +import org.apache.blur.thrift.generated.Facet;
>  import org.apache.blur.thrift.generated.FetchResult;
>  import org.apache.blur.thrift.generated.Query;
>  import org.apache.blur.thrift.generated.RecordMutation;
> @@ -117,6 +119,7 @@ public class BlurClusterTest {
>      testLoadTable();
>      testForEmptySchema();
>      testQueryWithSelector();
> +    testQueryWithFacets();
>      testBatchFetch();
>      testQueryCancel();
>      testBackPressureViaQuery();
> @@ -179,12 +182,15 @@ public class BlurClusterTest {
>
>    public void testLoadTable() throws BlurException, TException, InterruptedException
{
>      Iface client = getClient();
> -    int length = 100;
> +    int length = 250;

Can you bump the test doc count to 1000 and try again when you get a chance?

--tim

Mime
View raw message