You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/18 22:41:00 UTC
[jira] [Commented] (AIRFLOW-2481) Fix the flaky kubernetes test
[ https://issues.apache.org/jira/browse/AIRFLOW-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481292#comment-16481292 ]
ASF subversion and git services commented on AIRFLOW-2481:
----------------------------------------------------------
Commit 02889ce0f389293815b14c573525faf3ade193cc in incubator-airflow's branch refs/heads/master from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=02889ce ]
[AIRFLOW-2481] Fix flaky Kubernetes test
The test does not have enough time to finish.
Therefore simplify
the dag a bit to let the test execute more
quickly, and give it a
bit more time.
Closes #3371 from Fokko/AIRFLOW-2481-flaky-kub
> 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
>
> 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)