This is an automated email from the ASF dual-hosted git repository.
jasonliu pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new f34846c0186 [v3-0-test] Use env var connections instead of actual db
connections in kube systests (#54385) (#54391)
f34846c0186 is described below
commit f34846c018607cc9fdcc6f15a3f4ec323672ad8e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Aug 12 21:06:00 2025 +0800
[v3-0-test] Use env var connections instead of actual db connections in
kube systests (#54385) (#54391)
(cherry picked from commit 448497987e15b66fcd785cb6fe710dc4095a0174)
Co-authored-by: Amogh Desai <[email protected]>
---
.../tests/kubernetes_tests/test_kubernetes_pod_operator.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git
a/kubernetes-tests/tests/kubernetes_tests/test_kubernetes_pod_operator.py
b/kubernetes-tests/tests/kubernetes_tests/test_kubernetes_pod_operator.py
index 2ce9e6ae1ef..4d2906a0803 100644
--- a/kubernetes-tests/tests/kubernetes_tests/test_kubernetes_pod_operator.py
+++ b/kubernetes-tests/tests/kubernetes_tests/test_kubernetes_pod_operator.py
@@ -1456,6 +1456,15 @@ def
test_hide_sensitive_field_in_templated_fields_on_error(caplog, monkeypatch):
class TestKubernetesPodOperator(BaseK8STest):
+ @pytest.fixture(autouse=True)
+ def setup_connections(self, create_connection_without_db):
+ """Create kubernetes_default connection"""
+ connection = Connection(
+ conn_id="kubernetes_default",
+ conn_type="kubernetes",
+ )
+ create_connection_without_db(connection)
+
@pytest.mark.parametrize(
"active_deadline_seconds,should_fail",
[(3, True), (60, False)],