Closed pquentin closed 4 months ago
There's no reason to refresh after creating an index or data stream, as long as it was acknowledged. If it's not acknowledged, I would expect a timeout. (And we do have timeouts that need to be fixed, by the way.)
Fixes the following error:
ERROR test_elasticsearch_serverless/test_async/test_server/test_helpers.py::TestAsyncDataStreamReindex::test_reindex_index_datastream_op_type_index - TypeError: IndicesClient.create_data_stream() got an unexpected keyword argument 'refresh'
There's no reason to refresh after creating an index or data stream, as long as it was acknowledged. If it's not acknowledged, I would expect a timeout. (And we do have timeouts that need to be fixed, by the way.)
Fixes the following error: