IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Unit tests
editUnit tests
editIf your test is a well isolated unit test which doesn’t need a running Elasticsearch cluster, you can use the ESTestCase
. If you are testing lucene features, use ESTestCase
and if you are testing concrete token streams, use the ESTokenStreamTestCase
class. Those specific classes execute additional checks which ensure that no resources leaks are happening, after the test has run.