You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Robert Muir <rc...@gmail.com> on 2014/05/30 10:59:54 UTC

Re: svn commit: r1598502 - /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java

Why are lucene41 tests executing with other codecs?
Why is this suddenly happening?

On Fri, May 30, 2014 at 4:57 AM,  <mi...@apache.org> wrote:
> Author: mikemccand
> Date: Fri May 30 08:57:42 2014
> New Revision: 1598502
>
> URL: http://svn.apache.org/r1598502
> Log:
> LUCENE-5708: fix test bug
>
> Modified:
>     lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java
>
> Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java?rev=1598502&r1=1598501&r2=1598502&view=diff
> ==============================================================================
> --- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java (original)
> +++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/codecs/lucene41/TestBlockPostingsFormat3.java Fri May 30 08:57:42 2014
> @@ -139,6 +139,7 @@ public class TestBlockPostingsFormat3 ex
>      verify(dir);
>      TestUtil.checkIndex(dir); // for some extra coverage, checkIndex before we forceMerge
>      iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, analyzer);
> +    iwc.setCodec(TestUtil.alwaysPostingsFormat(new Lucene41PostingsFormat()));
>      iwc.setOpenMode(OpenMode.APPEND);
>      IndexWriter iw2 = new IndexWriter(dir, iwc);
>      iw2.forceMerge(1);
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org