You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/11/23 11:11:07 UTC
[GitHub] [lucenenet] NightOwl888 opened a new issue #559: Failing Test: Lucene.Net.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest.TestContains()
NightOwl888 opened a new issue #559:
URL: https://github.com/apache/lucenenet/issues/559
> For information about how to help us debug tests, see #269.
This test only started failing after fixing the test framework to randomize the codecs, culture and time zone (NUnit's Randomizer was always initialized with a seed of 0, so none of these were actually random).
I have confirmed it is 100% reproducible with the following info.
```
Lucene.Net.Tests.Spatial - netcoreapp3.1 - x86 - macOS | Tests failed: 1, passed: 43, ignored: 0TestContains
Failed 54m ago on Mac-1637661854630
Duration0:00:00.147
Ownernot available
Date started11/23/2021, 5:14:35 PM
Date completed11/23/2021, 5:14:35 PM
Failing since38m ago
Failing since build4.8.0-ci0000002578
Should have matched I#4:ShapePair(Rect(minX=-180,maxX=118,minY=-90,maxY=90) , Rect(minX=-118,maxX=-106,minY=-43,maxY=-28)) Q:Rect(minX=-180,maxX=180,minY=-81,maxY=79)
To reproduce this test result:
Option 1:
Apply the following assembly-level attributes:
[assembly: Lucene.Net.Util.RandomSeed(0xa1686ca0b2039006L)]
[assembly: NUnit.Framework.SetCulture("pt-MO")]
Option 2:
Use the following .runsettings file:
<RunSettings>
<TestRunParameters>
<Parameter name="tests:seed" value="0xa1686ca0b2039006" />
<Parameter name="tests:culture" value="pt-MO" />
</TestRunParameters>
</RunSettings>
See the .runsettings documentation at: https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
at Lucene.Net.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest.fail(String label, String id, IDictionary`2 indexedShapes, IDictionary`2 indexedShapesGS, IShape queryShape) in D:\a\1\s\src\Lucene.Net.Tests.Spatial\Prefix\SpatialOpRecursivePrefixTreeTest.cs:line 389
at Lucene.Net.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest.doTest(SpatialOperation operation) in D:\a\1\s\src\Lucene.Net.Tests.Spatial\Prefix\SpatialOpRecursivePrefixTreeTest.cs:line 278
at Lucene.Net.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest.TestContains() in D:\a\1\s\src\Lucene.Net.Tests.Spatial\Prefix\SpatialOpRecursivePrefixTreeTest.cs:line 116
```
See https://dev.azure.com/shad0962/Experiments/_build/results?buildId=1662&view=ms.vss-test-web.build-test-results-tab&runId=722934&resultId=100016&paneView=debug to download the test artifacts, if necessary. Note that the build will be cleaned up after 30 days.
--
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-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [lucenenet] NightOwl888 closed issue #559: Failing Test: Lucene.Net.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest.TestContains()
Posted by GitBox <gi...@apache.org>.
NightOwl888 closed issue #559:
URL: https://github.com/apache/lucenenet/issues/559
--
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-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org