Skip to content
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

TestRandomChains fails randomly #1072

Open
1 task done
paulirwin opened this issue Dec 21, 2024 · 0 comments
Open
1 task done

TestRandomChains fails randomly #1072

paulirwin opened this issue Dec 21, 2024 · 0 comments
Labels
is:bug pri:normal test-failure up-for-grabs This issue is open to be worked on by anyone

Comments

@paulirwin
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

This has been split out from #271.

TestRandomChains' tests will rarely, randomly fail even with a fixed seed, indicating that there is a likely concurrency issue with (at least) one of the token stream components generated by MockRandomAnalyzer. The failure does not seem to be related to the root cause of #271.

Need to investigate and create reproducible, isolated test scenarios and fix the underlying failures. Adding a [Repeat] attribute to the tests can sometimes help reproduce.

Expected Behavior

The tests reliably pass.

Steps To Reproduce

No response

Exceptions (if any)

No response

Lucene.NET Version

4.8.0-beta00017

.NET Version

No response

Operating System

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug pri:normal test-failure up-for-grabs This issue is open to be worked on by anyone
Projects
None yet
Development

No branches or pull requests

1 participant