This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new aa10d1ee24 Resolve elastic search deprecations in tests (#40299)
aa10d1ee24 is described below

commit aa10d1ee240c9c18f464fe2b4fefabaaa7f57317
Author: Gopal Dirisala <[email protected]>
AuthorDate: Tue Jun 18 19:35:20 2024 +0530

    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 c82f7160f3..84d67b50db 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 c920f0d466..6469a636ff 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()

Reply via email to