Skip to content

(fix) test_k8s/dumps/xml_sql: define both the pod_override and pod_template_file executor configs

As both KUBERNETES_POD_OPERATOR_BASE_KWARGS and base_operator_kwargs were defining the executor_config key, the last one to be merged in would "win" and erase the other subkey.

Example:

>>> d1 = {'executor_config': {'pod_override': 'xxx'}}
>>> d2 = {'executor_config': {'pod_template_file': 'yyy'}}
>>> d1 | d2
{'executor_config': {'pod_template_file': 'yyy'}}

Signed-off-by: Balthazar Rouberol brouberol@wikimedia.org Bug: T388378

Closes T388378

Merge request reports

Loading