Fokko Driesprong created AIRFLOW-2481:
-----------------------------------------

             Summary: 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


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