-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add the necessary steps for lucene replace #551
Conversation
One thing I'm not sure is the lock, two write locks together, not sure if it will work |
We need more tests for this, but that was true before. This fix seems right to me. |
@@ -191,6 +192,7 @@ class LuceneSearchProviderSpec extends SearchProviderSpec<LuceneSearchProvider> | |||
!Files.exists(file4) | |||
} | |||
|
|||
@Ignore("This test is currently not valid because the replacement index is invalid.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't seem to be ignored, 'cause it was working previously
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It no longer works, because the file we are using is fake, the method now requires a real index file
Given this needs to be addressed in a separate PR, #552, I'm OK with it |
cc2c619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish I had a test plan to propose. @QubitPi is planning to look into it.
cc2c619
to
503cdca
Compare
f2ffbca
ad97746
to
503cdca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will address a missing piece on index replacement. Downstream consumers will have to test it until the included test can be rewritten using more realistic changes.
Thanks @michael-mclawhorn. Test will be my next urgent thing to do #552 |
No description provided.