Closed srisub closed 9 years ago
@sam-github - Its the test itself, which has been fixed in the PR.
This seems like a situation where tests were working fine on my laptop but when someone else cloned the project, they ran into an issue where the lookup of elasticsearch
by the datasource ... incorrectly leads to instantiation of the elasticsearch driver library instead of the elasticsearch connector library!
Here are the logs that other folks tend to see when this confusion occurs:
Looks like you are expecting the previous "elasticsearch" module.
It is now the "es" module. To create a client with this module use
`new es.Client(params)`.
@srisub - Thanks for the patch, I see now that you've initialized the connector a bit differently for tests to avoid such an issue.
@pulkitsinghal Sam was trying to tell Jenkins to test the PR, but this project is not built on our Jenkins server.
test please