kaxil commented on a change in pull request #7507: [AIRFLOW-6885] Delete worker
on success
URL: https://github.com/apache/airflow/pull/7507#discussion_r382946433
##########
File path: tests/executors/test_kubernetes_executor.py
##########
@@ -270,12 +270,27 @@ def test_change_state_skip_pod_deletion(self,
mock_delete_pod, mock_get_kube_cli
mock_kubernetes_job_watcher):
executor = KubernetesExecutor()
executor.kube_config.delete_worker_pods = False
+ executor.kube_config.delete_on_success = False
Review comment:
```suggestion
executor.kube_config.delete_worker_pods_on_success = False
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services