TestControlledRTReopenThread.testCRTReopen relies on wall clock time [LUCENE-5737]
Open
legacy-jira-priority:Major
type:bug
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
I'm disabling this test for now; I think to fix it we need to be able to make the timer pluggable in this class, and mock a more "controllable" wall clock for the test.
---
Migrated from [LUCENE-5737](https://issues.apache.org/jira/browse/LUCENE-5737) by Michael McCandless (@mikemccand), updated Feb 22 2018
Contributor guide
Research direction
Start with TestControlledRTReopenThread.testCRTReopen and inspect the class under test to find where wall-clock timing is used. Determine how the timer can be controlled for this test; done means the test can be re-enabled and passes reliably without depending on real elapsed time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100