Make sure every SearchIntegrator built in test is closed properly

Description

We have some tests that don't close the search integrator they create, resulting in leaks: threads still running or files not deleted when other tests start, or, more importantly, Elasticsearch indexes not deleted after the test finishes.

We should find the misbehaving tests and fix them. Also, it would be great to add a forbidden API rule so that we don't try to build search integrators directly, ever (we should always use a safe API that will ensure the integrator will be closed eventually).

Activity

Yoann RodièreMay 29, 2017 at 4:15 PM

This is necessary to add the AWS tests to HSEARCH-2714. Or at least, it would be better to address this before setting up an AWS CI job.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created May 29, 2017 at 4:06 PM
Updated June 13, 2017 at 10:38 AM
Resolved May 30, 2017 at 4:11 PM

Flag notifications