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 9d0abc396a Remove deprecations usage in `docker` provider system tests
(#39487)
9d0abc396a is described below
commit 9d0abc396a8bf39f550864935e28387737034b4e
Author: Andrey Anshin <[email protected]>
AuthorDate: Wed May 8 17:56:29 2024 +0400
Remove deprecations usage in `docker` provider system tests (#39487)
---
tests/always/test_example_dags.py | 1 -
tests/system/providers/docker/example_docker_swarm.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/always/test_example_dags.py
b/tests/always/test_example_dags.py
index 3a0d947c8a..427af8d1da 100644
--- a/tests/always/test_example_dags.py
+++ b/tests/always/test_example_dags.py
@@ -52,7 +52,6 @@ IGNORE_AIRFLOW_PROVIDER_DEPRECATION_WARNING: tuple[str, ...]
= (
"tests/system/providers/amazon/aws/example_emr.py",
"tests/system/providers/amazon/aws/example_emr_notebook_execution.py",
"tests/system/providers/dbt/cloud/example_dbt_cloud.py",
- "tests/system/providers/docker/example_docker_swarm.py",
"tests/system/providers/google/cloud/azure/example_azure_fileshare_to_gcs.py",
"tests/system/providers/google/cloud/bigquery/example_bigquery_operations.py",
"tests/system/providers/google/cloud/bigquery/example_bigquery_sensors.py",
diff --git a/tests/system/providers/docker/example_docker_swarm.py
b/tests/system/providers/docker/example_docker_swarm.py
index 88a200b0fd..6546c7d434 100644
--- a/tests/system/providers/docker/example_docker_swarm.py
+++ b/tests/system/providers/docker/example_docker_swarm.py
@@ -38,7 +38,7 @@ with models.DAG(
docker_url="unix://var/run/docker.sock", # Set your docker URL
command="/bin/sleep 10",
image="centos:latest",
- auto_remove=True,
+ auto_remove="success",
task_id="sleep_with_swarm",
)