# ES Embedded in 7.0

**URL:** <https://discuss.elastic.co/t/es-embedded-in-7-0/219823>\
**Category:** Elasticsearch\
**Created:** [February 18, 2020, 3:26pm UTC](https://discuss.elastic.co/t/es-embedded-in-7-0/219823 "2020-02-18T15:26:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben-charles](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@ben-charles](https://discuss.elastic.co/u/ben-charles)\
**Post date:** [February 18, 2020, 3:26pm UTC](https://discuss.elastic.co/t/es-embedded-in-7-0/219823/1 "2020-02-18T15:26:09Z")

</div>

Is it possible to run ES embedded in 7.0? I am running into the same situation described in this previous [thread](https://discuss.elastic.co/t/httpaddresses-of-testcluster-es-7-0/206697). 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?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 18, 2020, 5:56pm UTC](https://discuss.elastic.co/t/es-embedded-in-7-0/219823/2 "2020-02-18T17:56:49Z")

</div>

You can not run elasticsearch embedded. Read this [blog post](https://www.elastic.co/blog/elasticsearch-the-server).

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](https://discuss.elastic.co/t/in-memory-testing-with-resthighlevelclient/106196/6)

Also this sample project shows how to use Elasticsearch Test Classes:

> **[joel-costigliola/elastic-search-test](https://github.com/joel-costigliola/elastic-search-test)**
>
> ESIntegTestCase example. Contribute to joel-costigliola/elastic-search-test development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 17, 2020, 6:03pm UTC](https://discuss.elastic.co/t/es-embedded-in-7-0/219823/3 "2020-03-17T18:03:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
