Closed (fixed)
Project:
Elasticsearch Connector
Version:
8.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2024 at 18:23 UTC
Updated:
4 Jun 2025 at 15:35 UTC
Jump to comment: Most recent
Comments
Comment #2
sokru commentedComment #3
sokru commentedComment #6
hexaki commentedHi, nice work for the recent updates of this module!
I think that elasticsearch_connector should be able to validate all tests from BackendTestBase.
My changes:
- call the parent
testBackend- fix the code so that all of these tests pass
Todo:
- Fix the unit tests with the changes I made
- Add PHPUnit\Asynchronicity back
Some notes on my changes:
- Some issues on the results were due to the fuzziness, I think a new issue for testing this features could be interesting
- The tests from
searchSuccesswhere duplicate form the parent, I remove themI would love your feedback.
Comment #7
hexaki commentedI've removed the need for PHPUnit\Asynchronicity.
And updated the unit tests.
Comment #8
mparker17Adding #3427243: Plan for 8.0.0-alpha release as a parent issue.
Comment #9
sokru commentedThanks @hexaki! I have looked the MR few times, on the first glance it looked like the changes where totally out-of-scope, but after more reading they make totally sense, excellent work! Its good that we're be able to also cover the parent
testBackend! We should include that as release highlights for 8.0.0.Only minor nitpick about the quotes,
https://www.drupal.org/docs/develop/standards/php/php-coding-standards#:....
I've set the status RTBC, does not hurt if anyone else could also check the changes, I'll re-read the changes once more before committing.
Comment #10
mparker17This looks good to me as well. Excellent work, @hexaki: thank you very much!
Note that when we merge this, we should change the status of #3426826: Investigate need of matthiasnoback/phpunit-asynchronicity to replace sleep() in tests to "Closed (outdated)"
Comment #12
sokru commentedChanged few double quotation marks, but changing all of them would make Elasticsearch tests to fail.
Comment #14
mparker17Update the issue summary to document changes made in this ticket.