Removing thread sleep calls from TestIndexWriter.testThreadInterruptDeadlock and TestDirectoryReader.testStressTryIncRef
Description
As suggested in #12946, I tried to tackle two test cases and replacing Thread.sleep calls appearing in TestIndexWriter.testThreadInterruptDeadlock and TestDirectoryReader.testStressTryIncRef
And of course, #13001 is going to precedes this one. For now seeking suggestions from community regarding new code that would replace the Thread.sleep calls.
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!