You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/09/09 14:54:41 UTC

[airflow] branch main updated: Fix kubernetes tests (#26272)

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 f87e8fd469 Fix kubernetes tests (#26272)
f87e8fd469 is described below

commit f87e8fd46994ccd2c97e2225bff6d2788aac6054
Author: pierrejeambrun <pi...@gmail.com>
AuthorDate: Fri Sep 9 16:54:30 2022 +0200

    Fix kubernetes tests (#26272)
---
 kubernetes_tests/test_kubernetes_pod_operator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kubernetes_tests/test_kubernetes_pod_operator.py b/kubernetes_tests/test_kubernetes_pod_operator.py
index 97ca4a6d4b..3480d88837 100644
--- a/kubernetes_tests/test_kubernetes_pod_operator.py
+++ b/kubernetes_tests/test_kubernetes_pod_operator.py
@@ -531,7 +531,7 @@ class TestKubernetesPodOperatorSystem(unittest.TestCase):
             image="ubuntu:16.04",
             cmds=["bash", "-cx"],
             arguments=["echo 10"],
-            labels={"foo": "bar"},
+            labels=self.labels,
             name="test-" + str(random.randint(0, 1000000)),
             task_id="task" + self.get_current_task_name(),
             in_cluster=False,