NightOwl888 opened a new issue, #846:
URL: https://github.com/apache/lucenenet/issues/846

   This appears to be a rare edge case, as it hasn't come up before. But then, 
we have only recently added tests for .NET 7.0. These tests failed on 
ubuntu-latest (Ubuntu 22.04) using `net7.0`. Since they failed as a group, they 
likely have the same underlying cause.
   
   
https://dev.azure.com/lucene-net-temp4/Main/_build/results?buildId=232&view=ms.vss-test-web.build-test-results-tab
   
   Note the above link will be cleaned up within 1 month, so the details have 
been copied below.
   
   # TestInclusiveLowerNumericRange
   
   ## Details
   
   <details>
       <summary>Click to expand</summary>
   
   ### Error Message
   
   Expected: 1, Actual: 0
   
   Query <+INT32:{"-608201030" TO "0"] +INT64:{"-9004819226736869376" TO "0"] 
+SINGLE:{"-0.49551165" TO "0"] +DOUBLE:{"-0.4581616751646118" TO "0"] 
+date:{"1908/9/28 5:02:10 -6 西元 10 -06:00 1908" TO "1969/12/31 7:00:00 -5 西元 0 
-05:00 1969"]> retrieved 0 document(s), 1 document(s) expected.
   
   To reproduce this test result:
   
   Option 1:
   
   Apply the following assembly-level attributes:
   
   ```c#
   [assembly: Lucene.Net.Util.RandomSeed("0x1aea3b735c59df90")]
   [assembly: NUnit.Framework.SetCulture("ff-Latn-GM")]
   ```
   
   Option 2:
   
   Use the following .runsettings file:
   
   ```xml
   <RunSettings>
   <TestRunParameters>
   <Parameter name="tests:seed" value="0x1aea3b735c59df90" />
   <Parameter name="tests:culture" value="ff-Latn-GM" />
   </TestRunParameters>
   </RunSettings>
   ```
   
   See the .runsettings documentation at: 
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
   
   ### Stack Trace
   
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestQuery(String
 queryStr, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
651](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=651&lineEnd=652&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.assertRangeQuery(Nullable`1
 lowerType, Nullable`1 upperType, Boolean lowerInclusive, Boolean 
upperInclusive, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
568](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=568&lineEnd=569&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestInclusiveLowerNumericRange()
 in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
427](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=427&lineEnd=428&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   
   </details>
   
   # TestOpenRangeNumericQuery
   
   ## Details
   
   <details>
       <summary>Click to expand</summary>
   
   ### Error Message
   
   Expected: 2, Actual: 1
   
   Query <+INT32<="0" +INT64<="0" +SINGLE<="0" +DOUBLE<="0" +date<="1969/12/31 
7:00:00 -5 西元 0 -05:00 1969"> retrieved 1 document(s), 2 document(s) expected.
   
   To reproduce this test result:
   
   Option 1:
   
   Apply the following assembly-level attributes:
   
   ```c#
   [assembly: Lucene.Net.Util.RandomSeed("0x1aea3b735c59df90")]
   [assembly: NUnit.Framework.SetCulture("ff-Latn-GM")]
   ```
   
   Option 2:
   
   Use the following .runsettings file:
   
   ```xml
   <RunSettings>
   <TestRunParameters>
   <Parameter name="tests:seed" value="0x1aea3b735c59df90" />
   <Parameter name="tests:culture" value="ff-Latn-GM" />
   </TestRunParameters>
   </RunSettings>
   ```
   
   See the .runsettings documentation at: 
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
   
   ### Stack Trace
   
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestQuery(String
 queryStr, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
651](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=651&lineEnd=652&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.assertOpenRangeQuery(NumberType
 boundType, String operator, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
601](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=601&lineEnd=602&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestOpenRangeNumericQuery()
 in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
461](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=461&lineEnd=462&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   
   </details>
   
   # TestInclusiveNumericRange
   
   ## Details
   
   <details>
       <summary>Click to expand</summary>
   
   ### Error Message
   
   Expected: 1, Actual: 0
   
   Query <+INT32:["0" TO "0"] +INT64:["0" TO "0"] +SINGLE:["0" TO "0"] 
+DOUBLE:["0" TO "0"] +date:["1969/12/31 7:00:00 -5 西元 0 -05:00 1969" TO 
"1969/12/31 7:00:00 -5 西元 0 -05:00 1969"]> retrieved 0 document(s), 1 
document(s) expected.
   
   To reproduce this test result:
   
   Option 1:
   
   Apply the following assembly-level attributes:
   
   ```c#
   [assembly: Lucene.Net.Util.RandomSeed("0x1aea3b735c59df90")]
   [assembly: NUnit.Framework.SetCulture("ff-Latn-GM")]
   ```
   
   Option 2:
   
   Use the following .runsettings file:
   
   ```xml
   <RunSettings>
   <TestRunParameters>
   <Parameter name="tests:seed" value="0x1aea3b735c59df90" />
   <Parameter name="tests:culture" value="ff-Latn-GM" />
   </TestRunParameters>
   </RunSettings>
   ```
   
   See the .runsettings documentation at: 
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
   
   ### Stack Trace
   
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestQuery(String
 queryStr, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
651](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=651&lineEnd=652&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.assertRangeQuery(Nullable`1
 lowerType, Nullable`1 upperType, Boolean lowerInclusive, Boolean 
upperInclusive, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
568](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=568&lineEnd=569&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestInclusiveNumericRange()
 in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
415](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=415&lineEnd=416&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   
   </details>
   
   # TestSimpleNumericQuery
   
   ## Details
   
   <details>
       <summary>Click to expand</summary>
   
   ### Error Message
   
   Expected: 1, Actual: 0
   
   Query <+INT32:"0" +INT64:"0" +SINGLE:"0" +DOUBLE:"0" +date:"1969/12/31 
7:00:00 -5 西元 0 -05:00 1969"> retrieved 0 document(s), 1 document(s) expected.
   
   To reproduce this test result:
   
   Option 1:
   
   Apply the following assembly-level attributes:
   
   ```c#
   [assembly: Lucene.Net.Util.RandomSeed("0x1aea3b735c59df90")]
   [assembly: NUnit.Framework.SetCulture("ff-Latn-GM")]
   ```
   
   Option 2:
   
   Use the following .runsettings file:
   
   ```xml
   <RunSettings>
   <TestRunParameters>
   <Parameter name="tests:seed" value="0x1aea3b735c59df90" />
   <Parameter name="tests:culture" value="ff-Latn-GM" />
   </TestRunParameters>
   </RunSettings>
   ```
   
   See the .runsettings documentation at: 
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
   
   ### Stack Trace
   
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestQuery(String
 queryStr, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
651](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=651&lineEnd=652&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.assertSimpleQuery(NumberType
 numberType, Int32 expectedDocCount) in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
633](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=633&lineEnd=634&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.QueryParsers.Flexible.Standard.TestNumericQueryParser.TestSimpleNumericQuery()
 in 
/_/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestNumericQueryParser.cs:line
 
495](https://dev.azure.com/lucene-net-temp4/Main/_git/fdfefc9a-2f87-4b6c-b69a-6efa0c048afe?path=%2F_%2Fsrc%2FLucene.Net.Tests.QueryParser%2FFlexible%2FStandard%2FTestNumericQueryParser.cs&version=GBfix%2FGH-843&_a=contents&line=495&lineEnd=496&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   
   </details>


-- 
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: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to