-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Known Failing Tests on Lucene.Net #269
Labels
Milestone
Comments
clambertus
added
Lucene.Net Core
test-failure
up-for-grabs
This issue is open to be worked on by anyone
labels
May 5, 2020
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Jul 22, 2020
…InnerClassHelper.IsTokenChar(int) that was causing surrogate pairs to fail in the TestUTF8FullRange() tests of NGramTokenizerTest and EdgeNGramTokenizerTest (see apache#269)
NightOwl888
added a commit
that referenced
this issue
Jul 24, 2020
…InnerClassHelper.IsTokenChar(int) that was causing surrogate pairs to fail in the TestUTF8FullRange() tests of NGramTokenizerTest and EdgeNGramTokenizerTest (see #269)
This was referenced Sep 7, 2020
Merged
This was referenced Sep 16, 2020
This was referenced Sep 25, 2020
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Nov 20, 2020
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Nov 20, 2020
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Nov 21, 2020
NightOwl888
added a commit
that referenced
this issue
Nov 21, 2020
asfgit
pushed a commit
that referenced
this issue
Nov 25, 2020
…nsWithLargeStrings()): Added AwaitsFixAttribute because we are getting random failures (See #269)
11 tasks
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Oct 23, 2021
…NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Search.TestBooleanQuery.TestBS2DisjunctionNextVsAdvance(), Lucene.Net.Search.TestFuzzyQuery.TestTieBreaker(), and Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTieBreaker(). See apache#269.
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Oct 23, 2021
….Util.NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Search.TestTopDocsMerge::TestSort_1(), Lucene.Net.Search.TestTopDocsMerge::TestSort_2(), and Lucene.Net.Search.TestSearchAfter.TestQueries(). See apache#269.
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Oct 23, 2021
… using Lucene.Net.Util.NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTokenLengthOpt(). See apache#269.
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Oct 23, 2021
…tils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. See apache#269.
NightOwl888
added a commit
to NightOwl888/lucenenet
that referenced
this issue
Oct 23, 2021
…ng float to double loses precision in x86 .NET Framework. Do an intermediate cast to decimal to fix Lucene.Net.Expressions.TestExpressionSorts::TestQueries(). See apache#269.
NightOwl888
added a commit
that referenced
this issue
Oct 23, 2021
…NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Search.TestBooleanQuery.TestBS2DisjunctionNextVsAdvance(), Lucene.Net.Search.TestFuzzyQuery.TestTieBreaker(), and Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTieBreaker(). See #269.
NightOwl888
added a commit
that referenced
this issue
Oct 23, 2021
….Util.NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Search.TestTopDocsMerge::TestSort_1(), Lucene.Net.Search.TestTopDocsMerge::TestSort_2(), and Lucene.Net.Search.TestSearchAfter.TestQueries(). See #269.
NightOwl888
added a commit
that referenced
this issue
Oct 23, 2021
… using Lucene.Net.Util.NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. This fixes Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTokenLengthOpt(). See #269.
NightOwl888
added a commit
that referenced
this issue
Oct 23, 2021
…tils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. See #269.
NightOwl888
added a commit
that referenced
this issue
Oct 23, 2021
…ng float to double loses precision in x86 .NET Framework. Do an intermediate cast to decimal to fix Lucene.Net.Expressions.TestExpressionSorts::TestQueries(). See #269.
This was referenced Nov 18, 2021
Closed
FYI, after many days of effort, we finally found the cause of the TestRandomStrings/TestRandomHugeStrings failures, in ICU4N. We should be able to get these tests re-enabled once an ICU4N release with NightOwl888/ICU4N#96 is released. |
This was referenced Nov 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
All 7500+ 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.
System.IO.IOException : The process cannot access the file '/tmp/LuceneTemp/index-NIOFSDirectory-fkqg2vah/write.lock' because it is being used by another process.
w.UpdateDocument(new Term("id", idField.GetStringValue()), doc);
w.AddDocument(doc);
TestRandomDiscreteMultiValueHighlighting()
Lucene.Net.Expressions.TestExpressionSorts::TestQueries()
Lucene.Net.dll
Lucene.Net.Sandbox.TestSlowFuzzyQuery::TestTieBreaker()
Lucene.Net.dll
Lucene.Net.Sandbox.TestSlowFuzzyQuery::TestTokenLengthOpt()
Lucene.Net.dll
Lucene.Net.Search.TestBooleanQuery::TestBS2DisjunctionNextVsAdvance()
Lucene.Net.dll
Lucene.Net.Search.TestFuzzyQuery::TestTieBreaker()
Lucene.Net.dll
Lucene.Net.Search.TestSearchAfter::TestQueries()
Lucene.Net.dll
Lucene.Net.Search.TestTopDocsMerge::TestSort_1()
Lucene.Net.dll
Lucene.Net.Search.TestTopDocsMerge::TestSort_2()
Lucene.Net.dll
Lucene.Net.Index.TestTaskMergeScheduler::TestSubclassTaskMergeScheduler()
TaskMergeScheduler
and deleted its tests, so this is no longer applicable[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occur[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occur[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occurBreakIterator
, and ffc8f2a can be reverted once it is fixed.[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occurBreakIterator
, and ffc8f2a can be reverted once it is fixed.[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occurBreakIterator
, and ffc8f2a can be reverted once it is fixed.[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occurBreakIterator
, and ffc8f2a can be reverted once it is fixed.[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occur[FindFirstFailingSeed]
or[Repeat(100)]
attribute to force it to occur (this no longer works after fixing the random seed functionality in the test framwork, we need to wait for it to happen in Azure DevOps)HunspellStemFilter
Note we now have an 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. 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).
Repeatability
The tests that fail are now marked with the
AwaitsFixAttribute
. The default behavior of the test framework is to ignore the tests that are marked with this attribute. Any of the following changes can be made to make theAwaitsFixAttribute
tests run so they can be debugged.AwaitsFixAttribute
on the test in question.lucene.testsettings.json
in the directory of the test project or a parent directory of the test project with the content:To specify a specific target framework to run the tests on, edit the
TestTargetFramework.props
file. Note that the last property with a given name wins, so to test on .NET Core 3.1 instead of .NET 5, change the file as follows:Before
After
NOTES
Also, let us know if you find any failing test that is not on this list.
JIRA link - [LUCENENET-619] created by nightowl888The text was updated successfully, but these errors were encountered: