mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 02:48:38 +00:00
The new MockWebServer assumed that responses are inserted at the beginning and removed later on. This was not thread safe. Also this fixes a bug in the HttpExporterIT where there was no wait time for a bulk request, even though the request execution is asynchronous. Closes elastic/elasticsearch#4335 Original commit: elastic/x-pack-elasticsearch@11f31f68bd