[
https://issues.apache.org/jira/browse/AIRFLOW-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902789#comment-16902789
]
ASF GitHub Bot commented on AIRFLOW-5142:
-----------------------------------------
potiuk commented on pull request #5758: [AIRFLOW-5142] Fixed flaky cassandra
test
URL: https://github.com/apache/airflow/pull/5758
Make sure you have checked _all_ steps below.
### Jira
- [x] My PR addresses the following [Airflow
Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references
them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
- https://issues.apache.org/jira/browse/AIRFLOW-5142
### Description
- [x] Here are some details about my PR, including screenshots of any UI
changes:
### Tests
- [x] My PR adds the following unit tests __OR__ does not need testing for
this extremely good reason:
### Commits
- [x] My commits all reference Jira issues in their subject lines, and I
have squashed multiple commits if they address the same issue. In addition, my
commits follow the guidelines from "[How to write a good git commit
message](http://chris.beams.io/posts/git-commit/)":
### Documentation
- [x] In case of new functionality, my PR adds documentation that describes
how to use it.
- All the public functions and the classes in the PR contain docstrings
that explain what it does
- If you implement backwards incompatible changes, please leave a note in
the [Updating.md](https://github.com/apache/airflow/blob/master/UPDATING.md) so
we can assign it to a appropriate release
### Code Quality
- [x] Passes `flake8`
----------------------------------------------------------------
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]
> Cassandra GCS Test is flaky
> ---------------------------
>
> Key: AIRFLOW-5142
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5142
> Project: Apache Airflow
> Issue Type: Improvement
> Components: ci
> Affects Versions: 2.0.0
> Reporter: Jarek Potiuk
> Priority: Major
>
> {{We have a flaky test in master:}}
>
> {{====================================================================== 21)
> FAIL: test_execute
> (tests.contrib.operators.test_cassandra_to_gcs_operator.CassandraToGCSTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last): /usr/local/lib/python3.5/unittest/mock.py
> line 1159 in patched return func(*args, **keywargs)
> tests/contrib/operators/test_cassandra_to_gcs_operator.py line 53 in
> test_execute test_bucket, schema, TMP_FILE_NAME, "application/json", gzip
> /usr/local/lib/python3.5/unittest/mock.py line 794 in assert_called_with
> raise AssertionError(_error_message()) from cause AssertionError: Expected
> call: upload('test-bucket', 'schema.json', 'temp-file', 'application/json',
> True) Actual call: upload('test-bucket', 'data.json', 'temp-file',
> 'application/json', True)}}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)