Junit test for High level rest client query

I want to test Elasticsearch query in java Junit.
It seems to be possible to use a test container, but the Elasticsearch documentation does not seem to provide it officially.
doc: https://www.elastic.co/guide/en/elasticsearch/reference/current/testing.html


  1. Is it okay to use a test container for Junit test?
  2. Why is the Elasticsearch test container not officially provided?

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