You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/05/18 22:42:00 UTC
[jira] [Resolved] (AIRFLOW-2481) Fix the flaky kubernetes test
[ https://issues.apache.org/jira/browse/AIRFLOW-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fokko Driesprong resolved AIRFLOW-2481.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.10.0
Issue resolved by pull request #3371
[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)