Is it possible to run ES embedded in 7.0? I am running into the same situation described in this previous thread. One of the participants mentioned that running ES embedded is deprecated in 7.0. I didn't see any mention of this in the release notes or breaking changes. Is this true? Can someone from ES confirm?
You can not run elasticsearch embedded. Read this blog post.
Note that to run integration tests (not unit tests) you would probably prefer running that in something close to a production environment, like a real elasticsearch server instance. I shared some ideas about integration testing in this thread: In memory testing with RestHighLevelClient
Also this sample project shows how to use Elasticsearch Test Classes:
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.