ElasticContainer: suppress unclosed resource warning

The close method has a default implementation in the interface Startable
which calls container.stop(). We already call stop() in the
stopElasticsearchServer() method of the abstract test classes which are
called via @AfterClass junit annotation when all tests in the respective
test class have been executed.

Change-Id: I5d4831f21b4825fe8a92105c34bbe255123c7b85
1 file changed
tree: 18e2088115645df37687a12a80520b4689d34ff0
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

Index backend for Gerrit, based on ElasticSearch

Indexing backend libModule for Gerrit Code Review based on ElasticSearch.

This module was originally part of Gerrit core and then extracted into a separate component from v3.5.0-rc3 as part of Change-Id: Ib7b5167ce.

Note that, ElasticSearch source code is no longer Apache 2.0-licensed for versions 7.11 and newer. See ElasticSearch 2021 license change for more information.

How to build

This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.

Setup

See the setup instructions for how to install the index-elasticsearch module.

For further information and supported options, refer to the config documentation.

Integration test

This libModule runs tests like a Gerrit in-tree plugin, using Bazelisk. See the test instructions for more details.