-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Rename] Fix test SynonymsAnalysisTests.testSynonymsAnalysis for renaming #456
[Rename] Fix test SynonymsAnalysisTests.testSynonymsAnalysis for renaming #456
Conversation
…onymsAnalysis for renaming Signed-off-by: Harold Wang <[email protected]>
✅ DCO Check Passed 3c49199 |
✅ Gradle Wrapper Validation success 3c49199 |
@@ -74,15 +74,15 @@ public void testSynonymsAnalysis() throws IOException { | |||
IndexSettings idxSettings = IndexSettingsModule.newIndexSettings("index", settings); | |||
indexAnalyzers = createTestAnalysis(idxSettings, settings, new CommonAnalysisPlugin()).indexAnalyzers; | |||
|
|||
match("synonymAnalyzer", "kimchy is the dude abides", "shay is the elasticsearch man!"); | |||
match("synonymAnalyzer", "kimchy is the dude abides", "shay is the opensearch man!"); |
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.
We are replacing some of the names used in tests - see #454 which also fixes this failing test.
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.
Thanks for information, I did not know that you were working on this one:
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 wasn't actually fixing the tests but rather renaming the data and that fixed the test.
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.
That is also good idea.
✅ Gradle Precommit success 3c49199 |
Signed-off-by: Harold Wang <[email protected]>
✅ DCO Check Passed 85696aa |
✅ Gradle Wrapper Validation success 85696aa |
✅ Gradle Precommit success 85696aa |
Fix failing testcase org.opensearch.analysis.common.SynonymsAnalysisTests.testSynonymsAnalysis
Issue #441
Signed-off-by: Harold Wang [email protected]