potiuk commented on issue #5758: [AIRFLOW-5142] Fixed flaky cassandra test URL: https://github.com/apache/airflow/pull/5758#issuecomment-519466319 Yeah. It's all explained in discussion here: https://github.com/apache/airflow/pull/5753 and https://stackoverflow.com/a/39980744/1849502 - we have two method calls and they are sometimes in different order because of race and the test originally checked only last call (that's how assert_called_with works). It seems it was only problem in python 3.5 (not sure why it passed originally ) because there it's not the "last" call but the one which is determined by the dictionary order as pointed by @mik-laj . Now the test correctly tests if the two upload methods were called in any order.
---------------------------------------------------------------- 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
