diff --git a/tests/system/providers/opensearch/example_opensearch.py b/tests/system/providers/opensearch/example_opensearch.py index 6a8660557cf78..b82af8ebddf16 100644 --- a/tests/system/providers/opensearch/example_opensearch.py +++ b/tests/system/providers/opensearch/example_opensearch.py @@ -110,7 +110,7 @@ def load_connections(): query={"query": {"bool": {"must": {"match": {"message": "hello world"}}}}}, ) search = Search() - search.index = INDEX_NAME + search._index = [INDEX_NAME] search_object = search.filter("term", logger="airflow").query("match", message="hello airflow") search_high_level = OpenSearchQueryOperator(task_id="high_level_query", search_object=search_object)