paulirwin opened a new issue, #1150:
URL: https://github.com/apache/lucenenet/issues/1150
### Is there an existing issue for this?
- [x] I have searched the existing issues
### 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.
```
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'
```
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]