lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Test framework ignoring -Dtestmethod
Date Tue, 21 Feb 2017 19:31:38 GMT
Hi Steve,

It's misspelled the same way in the method and the command line. I'll fix
the misspelling, but something else is going on here that is causing the
test to be ignored.

Joel Bernstein
http://joelsolr.blogspot.com/

On Tue, Feb 21, 2017 at 1:51 PM, Steve Rowe <sarowe@gmail.com> wrote:

> Hi Joel,
>
> Looks like testSignifcantTermsStream is misspelled?  (missing “i” between
> “f” and “c”)
>
> —-
> Steve
> www.lucidworks.com
>
> > On Feb 21, 2017, at 1:23 PM, Joel Bernstein <joelsolr@gmail.com> wrote:
> >
> >
> > A test I've just added is being ignored when it's being called with the
> -Dtestmethod.
> >
> > Here is the command line:
> >
> > ant test -Dtestcase=StreamExpressionTest -Dtestmethod=
> testSignifcantTermsStream
> >
> >
> > Here are some snippets from the output:
> > ------------------------------
> > ------------------------------
> > [junit4]   2> 6440 INFO  (TEST-StreamExpressionTest.
> testSignifcantTermsStream-seed#[619661D6DA496076]) [    ]
> o.a.s.SolrTestCaseJ4 ###Ending testSignifcantTermsStream
> >
> >    [junit4] IGNOR/A 0.18s | StreamExpressionTest.
> testSignifcantTermsStream
> >
> >    [junit4]    > Assumption #1: got: <false>, expected: is <true>
> >
> > ....
> >
> >  [junit4] Tests summary: 1 suite, 1 test, 1 ignored (1 assumption)
> >
> > -------------------------------------
> >
> > -------------------------------------
> >
> > Is anyone else seeing this behavior or have any idea why this might be
> happening?
> >
> >
> > Thanks
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Mime
View raw message