Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2749

Make sure every SearchIntegrator built in test is closed properly

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.8.1.Final
    • Fix Version/s: 5.8.0.Beta3
    • Component/s: tests
    • Labels:
      None

      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).

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                yrodiere Yoann Rodière
                Reporter:
                yrodiere Yoann Rodière
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: