From aa10d1ee240c9c18f464fe2b4fefabaaa7f57317 Mon Sep 17 00:00:00 2001 From: Gopal Dirisala <39794726+dirrao@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:35:20 +0530 Subject: [PATCH] Resolve elastic search deprecations in tests (#40299) --- tests/deprecations_ignore.yml | 1 - tests/providers/elasticsearch/log/test_es_task_handler.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/deprecations_ignore.yml b/tests/deprecations_ignore.yml index c82f7160f3e8bd..84d67b50db8ebe 100644 --- a/tests/deprecations_ignore.yml +++ b/tests/deprecations_ignore.yml @@ -102,7 +102,6 @@ - tests/providers/databricks/operators/test_databricks.py::TestDatabricksSubmitRunDeferrableOperator::test_execute_complete_incorrect_event_validation_failure - tests/providers/databricks/operators/test_databricks.py::TestDatabricksSubmitRunDeferrableOperator::test_execute_complete_success - tests/providers/databricks/operators/test_databricks.py::TestDatabricksSubmitRunDeferrableOperator::test_execute_task_deferred -- tests/providers/elasticsearch/log/test_es_task_handler.py::test_retrieve_retry_on_timeout - tests/providers/google/common/auth_backend/test_google_openid.py::TestGoogleOpenID::test_success - tests/providers/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs - tests/providers/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs_duplication_warning diff --git a/tests/providers/elasticsearch/log/test_es_task_handler.py b/tests/providers/elasticsearch/log/test_es_task_handler.py index c920f0d4668711..6469a636ff516f 100644 --- a/tests/providers/elasticsearch/log/test_es_task_handler.py +++ b/tests/providers/elasticsearch/log/test_es_task_handler.py @@ -701,7 +701,7 @@ def test_retrieve_retry_on_timeout(): """ with conf_vars( { - ("elasticsearch_configs", "retry_timeout"): "True", + ("elasticsearch_configs", "retry_on_timeout"): "True", } ): args_from_config = get_es_kwargs_from_config().keys()