elasticsearch: tests against elasticsearch 8 (#2420)

* elasticsearch: bump handled version to 6.0

After 4de0e5659d451baee65af412242b95f174444d87

* elasticsearch: tests against elasticsearch 8
This commit is contained in:
Riccardo Magliocchetti
2024-05-14 21:59:41 +02:00
committed by GitHub
parent 9b7197d3b9
commit 6a40ffd905
10 changed files with 191 additions and 52 deletions

View File

@ -31,3 +31,9 @@ dsl_index_result = (1, {}, '{"result": "created"}')
dsl_index_span_name = "Elasticsearch/test-index/doc/2"
dsl_index_url = "/test-index/doc/2"
dsl_search_method = "GET"
perform_request_mock_path = "elasticsearch.connection.http_urllib3.Urllib3HttpConnection.perform_request"
def mock_response(body: str, status_code: int = 200):
return (status_code, {}, body)