Shad Storhaug created LUCENENET-619: ---------------------------------------
Summary: Known Failing Tests on Lucene.Net Key: LUCENENET-619 URL: https://issues.apache.org/jira/browse/LUCENENET-619 Project: Lucene.Net Issue Type: Task Components: Lucene.Net Core, Lucene.Net Test, Lucene.Net.Analysis.Common, Lucene.Net.Classification Affects Versions: Lucene.Net 4.8.0 Reporter: Shad Storhaug Up for grabs. Please contribute to Lucene.Net. All 8000+ tests pass most of the time, but there are still a few that fail under the random conditions we test them in. This is a complete list of the known tests that fail and what is known about them. Note that these may not be all of the ways the tests can fail. # {color:#d04437}*Lucene.Net.Search.TestSearchAfter::TestQueries()*{color} ** Related to current culture ** Happens on netcoreapp2.1 on macOS ** Happens on netcoreapp1.0 on Linux # {color:#d04437}*Lucene.Net.Util.TestVersionComparer::TestVersions()*{color} ** Related to current culture ** Happens on netcoreapp2.1 on macOS # {color:#d04437}*Lucene.Net.Index.TestIndexWriter::TestTwoThreadsInterruptDeadlock()*{color} ** Happens on every target framework/OS # {color:#d04437}*Lucene.Net.Index.TestIndexWriter::TestThreadInterruptDeadlock()*{color} ** Happens on every target framework/OS # {color:#d04437}*Lucene.Net.Classification.KNearestNeighborClassifierTest::TestPerformance()*{color} ** Happens on netcoreapp2.1 on Windows ** Happens on netcoreapp1.0 on Windows ** Happens on net451 on Windows # {color:#d04437}*Lucene.Net.Analysis.NGram.EdgeNGramTokenizerTest::TestFullUTF8Range()*{color} ** Happens on netcoreapp1.0 on Linux # {color:#d04437}*Lucene.Net.Analysis.NGram.NGramTokenizerTest::TestFullUTF8Range()*{color} ** Happens on net451 on Windows ** Happens on netcoreapp1.0 on Linux ** Happens on netcoreapp1.0 on Windows ** Happens on netcoreapp1.0 on macOS ** Happens on netcoreapp2.1 on macOS # {color:#d04437}*Lucene.Net.Search.VectorHighlight.SimpleFragmentsBuilderTest::TestRandomDiscreteMultiValueHighlighting()*{color} ** Happens on Windows (I think on all target frameworks, but netcoreapp1.0 for sure) ** Not related to current culture ** Definitely a problem with the highlighter, not the test or test framework Note we now have an [{{azure-pipelines.yml}}|https://github.com/apache/lucenenet/blob/master/azure-pipelines.yml] configuration file in our repository that anyone can use to setup a build pipeline to see the tests run on Windows, macOS and Linux by setting up a [free Azure DevOps account|https://azure.microsoft.com/en-us/services/devops/]. If you create a public project to run the tests in, it will take roughly an hour to see the test results (a private project will take significantly longer on the free subscription because they only provide a single parallel job). *NOTES* * {color:#205081}Sometimes problems can be spotted just by comparing the [Lucene 4.8.0 code|https://github.com/apache/lucene-solr/tree/8fdf89690404c0e65784b2c5477552b9dec58591/lucene] against [Lucene.Net 4.8.0 code|https://github.com/apache/lucenenet].{color} * {color:#205081}The code should be checked to make sure there were no translation problems from Java to C#. This may be easier than it sounds, as you can type phrases like "java HashMap equivalent c#" into Google to find the answers easily.{color} * {color:#205081}We can change the code to properly match the behavior of Java, but no cheating by changing the conditions of the test! Unless, of course, the test conditions were translated to C# wrong, which has been known to happen.{color} * {color:#205081}If you find a solution to make the test pass, pleaseĀ [open a PR on GitHub|https://github.com/apache/lucenenet/pulls] or alternatively post the solution here so we can try it ourselves.{color} * {color:#205081}If you get the same warm fuzzy feeling we do when we make a test green, feel free to fix another one.{color} {color:#FF0000}Also, let us know if you find any failing test that is not on this list {color:#707070}(aside from the "file in use by another process" issue that is known to happen on Linux and macOS - see{color} [LUCENENET-618|https://issues.apache.org/jira/projects/LUCENENET/issues/LUCENENET-618]{color:#707070}){color} {color} -- This message was sent by Atlassian JIRA (v7.6.14#76016)