potiuk commented on a change in pull request #7525: [AIRFLOW-XXXX] [WIP] Fix 
(?) flaky tests in kubernetes tests
URL: https://github.com/apache/airflow/pull/7525#discussion_r383495668
 
 

 ##########
 File path: tests/runtime/kubernetes/test_kubernetes_executor.py
 ##########
 @@ -88,6 +88,9 @@ def monitor_task(self, host, execution_date, dag_id, 
task_id, expected_final_sta
                             execution_date=execution_date,
                             task_id=task_id)
                 )
+                if result.status_code == 404:
+                    check_call(["echo", "api returned 404."])
 
 Review comment:
   Ah yeah! tries += 1 is missing. Great catch

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

Reply via email to