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 2020/11/15 02:52:15 UTC

[airflow] 32/32: Fix helm unit test for pod_template_file (#12345)

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

potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit eeb913488701486f933583ef17a1e37fa731ee2b
Author: Daniel Imberman <da...@gmail.com>
AuthorDate: Fri Nov 13 10:05:24 2020 -0800

    Fix helm unit test for pod_template_file (#12345)
    
    Fixes bug in unittest that is causing master to fail.
    
    (cherry picked from commit 64978e323f0d6951a079f1dbe7d6b80127ffc19d)
---
 chart/tests/test_pod_template_file.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/tests/test_pod_template_file.py b/chart/tests/test_pod_template_file.py
index fb0dd45..768638f 100644
--- a/chart/tests/test_pod_template_file.py
+++ b/chart/tests/test_pod_template_file.py
@@ -193,7 +193,7 @@ class PodTemplateFileTest(unittest.TestCase):
 
         self.assertRegex(docs[0]["kind"], "Pod")
         self.assertDictEqual(
-            {'configMap': {'name': 'RELEASE-NAME-airflow-config'}, 'name': 'airflow-config'},
+            {'configMap': {'name': 'RELEASE-NAME-airflow-config'}, 'name': 'config'},
             jmespath.search("spec.volumes[1]", docs[0]),
         )
         self.assertDictEqual(