lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [44/50] [abbrv] lucene-solr:jira/solr-11779: LUCENE-8275: Suppress WindowsFS TestDirectoryTaxonomyWriter
Date Tue, 08 May 2018 21:15:30 GMT
LUCENE-8275: Suppress WindowsFS TestDirectoryTaxonomyWriter

TestDirectoryTaxonomyWriter#testRecreateAndRefresh can't deal with pending
files since it creates multiple IW instances on the same directory.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f9942b52
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f9942b52
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f9942b52

Branch: refs/heads/jira/solr-11779
Commit: f9942b525be042982e12b202fda5f4bd29e6c5d1
Parents: 5fc7251
Author: Simon Willnauer <simonw@apache.org>
Authored: Mon May 7 12:01:32 2018 +0200
Committer: Simon Willnauer <simonw@apache.org>
Committed: Mon May 7 12:01:32 2018 +0200

----------------------------------------------------------------------
 .../facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f9942b52/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java
----------------------------------------------------------------------
diff --git a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java
b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java
index 88fb042..4f3e1df 100644
--- a/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java
+++ b/lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestDirectoryTaxonomyWriter.java
@@ -46,10 +46,12 @@ import org.apache.lucene.store.AlreadyClosedException;
 import org.apache.lucene.store.Directory;
 import org.apache.lucene.util.Constants;
 import org.apache.lucene.util.IOUtils;
+import org.apache.lucene.util.LuceneTestCase.SuppressFileSystems;
 import org.apache.lucene.util.TestUtil;
 import org.junit.Test;
 
 
+@SuppressFileSystems("WindowsFS") // testRecreateAndRefresh doesn't like pending files
 public class TestDirectoryTaxonomyWriter extends FacetTestCase {
 
   // A No-Op TaxonomyWriterCache which always discards all given categories, and


Mime
View raw message