mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
As part of the review of elastic/elasticsearch#3287, the stopping of the IndexAuditTrail was moved to the tearDown method. This works sometimes but other times it fails because tearDown is run after ESIntegTestCase#after, so the IndexAuditTrail is still running during the after checks which will cause the test to fail since the shard lock cannot be obtained. Closes elastic/elasticsearch#3520 Original commit: elastic/x-pack-elasticsearch@4cb52b15a2