You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been other TestRandomStrings failures, but this one seemed different enough in the error message and class under test to be its own issue, although this can be closed if it ends up being the same issue as the others.
ailed Lucene.Net.Analysis.Ga.TestIrishAnalyzer.TestRandomStrings [11 ms]
Error Message:
System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.
(Test: Lucene.Net.Analysis.Ga.TestIrishAnalyzer.TestRandomStrings)
To reproduce this test result:
Option 1:
Apply the following assembly-level attributes:
[assembly: Lucene.Net.Util.RandomSeed("0xdc8f1b3b9e2e4df6:0x9ee184a962a602ed")]
[assembly: NUnit.Framework.SetCulture("ff-Latn-SL")]
Option 2:
Use the following .runsettings file:
<RunSettings>
<TestRunParameters>
<Parameter name="tests:seed" value="0xdc8f1b3b9e2e4df6:0x9ee184a962a602ed" />
<Parameter name="tests:culture" value="ff-Latn-SL" />
</TestRunParameters>
</RunSettings>
Option 3:
Create the following lucene.testsettings.json file somewhere between the test assembly and the root of your drive:
{
"tests": {
"seed": "0xdc8f1b3b9e2e4df6:0x9ee184a962a602ed",
"culture": "ff-Latn-SL"
}
}
Fixture Test Values
=================
Random Seed: 0xdc8f1b3b9e2e4df6:0x9ee184a962a602ed
Culture: ff-Latn-SL
Time Zone: (UTC-04:00) Atlantic Time (Lower Prince’s Quarter)
Default Codec: Asserting (AssertingCodec)
Default Similarity: DefaultSimilarity
System Properties
=================
Nightly: False
Weekly: False
Slow: False
Awaits Fix: False
Directory: random
Verbose: False
Random Multiplier: 1
Stack Trace:
at Lucene.Net.Analysis.Ga.IrishLowerCaseFilter.IncrementToken() in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.Analysis.Common/Analysis/Ga/IrishLowerCaseFilter.cs:line 70
at Lucene.Net.Analysis.Util.FilteringTokenFilter.IncrementToken() in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.Analysis.Common/Analysis/Util/FilteringTokenFilter.cs:line 90
at Lucene.Net.Analysis.Snowball.SnowballFilter.IncrementToken() in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.Analysis.Common/Analysis/Snowball/SnowballFilter.cs:line 95
at Lucene.Net.Analysis.BaseTokenStreamTestCase.CheckAnalysisConsistency(Random random, Analyzer a, Boolean useCharFilter, String text, Boolean offsetsAreCorrect, Field field) in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs:line 954
at Lucene.Net.Analysis.BaseTokenStreamTestCase.CheckRandomData(Random random, Analyzer a, Int32 iterations, Int32 maxWordLength, Boolean useCharFilter, Boolean simple, Boolean offsetsAreCorrect, RandomIndexWriter iw) in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs:line 838
at Lucene.Net.Analysis.BaseTokenStreamTestCase.CheckRandomData(Random random, Analyzer a, Int32 iterations, Int32 maxWordLength, Boolean simple, Boolean offsetsAreCorrect) in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs:line 692
at Lucene.Net.Analysis.BaseTokenStreamTestCase.CheckRandomData(Random random, Analyzer a, Int32 iterations) in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs:line 585
at Lucene.Net.Analysis.Ga.TestIrishAnalyzer.TestRandomStrings() in /home/runner/work/lucenenet/lucenenet/src/Lucene.Net.Tests.Analysis.Common/Analysis/Ga/TestIrishAnalyzer.cs:line 82
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Standard Error Messages:
TEST FAIL (iteration 5): useCharFilter=True text='tIdbdiYoqwHIz 8\u5999\u01f9\ufae5'
Is there an existing issue for this?
Describe the bug
There have been other TestRandomStrings failures, but this one seemed different enough in the error message and class under test to be its own issue, although this can be closed if it ends up being the same issue as the others.
Expected Behavior
The test passes
Steps To Reproduce
No response
Exceptions (if any)
No response
Lucene.NET Version
No response
.NET Version
No response
Operating System
No response
Anything else?
PR run: https://github.com/apache/lucenenet/actions/runs/13930698227/job/38998474019?pr=1149
The text was updated successfully, but these errors were encountered: