[ 
https://issues.apache.org/jira/browse/AIRFLOW-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601559#comment-16601559
 ] 

Apache Spark commented on AIRFLOW-2481:
---------------------------------------

User 'Fokko' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3371

> Fix the flaky kubernetes test
> -----------------------------
>
>                 Key: AIRFLOW-2481
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2481
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Fokko Driesprong
>            Priority: Major
>             Fix For: 1.10.0, 2.0.0
>
>
> I would like to simplify the test for Kubernetes a bit:
> ```
> ======================================================================
> 1) FAIL: test_integration_run_dag_with_scheduler_failure 
> (tests.contrib.minikube.test_kubernetes_executor.KubernetesExecutorTest)
> ----------------------------------------------------------------------
>    Traceback (most recent call last):
>     tests/contrib/minikube/test_kubernetes_executor.py line 196 in 
> test_integration_run_dag_with_scheduler_failure
>       expected_final_state='success', timeout=100)
>     tests/contrib/minikube/test_kubernetes_executor.py line 118 in 
> ensure_dag_expected_state
>       self.assertEqual(state, expected_final_state)
>    AssertionError: 'running' != 'success'
>    - running
>    + success
> ```
> Sometimes it doesn't have enough time to finish.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to