Looks like the mock timer tests I just added in PYTHON-1671 are flakey:
[2019/03/07 13:55:20.972] ====================================================================== [2019/03/07 13:55:20.972] FAIL [0.125s]: test_callback_not_retried_after_commit_timeout (test_transactions.TestTransactionsConvenientAPI) [2019/03/07 13:55:20.972] ---------------------------------------------------------------------- [2019/03/07 13:55:20.972] Traceback (most recent call last): [2019/03/07 13:55:20.972] File "C:\data\mci\d23971e56a7ba5e245ef07e072cbc059\src\test\__init__.py", line 410, in wrap [2019/03/07 13:55:20.972] return f(*args, **kwargs) [2019/03/07 13:55:20.972] File "C:\data\mci\d23971e56a7ba5e245ef07e072cbc059\src\test\test_transactions.py", line 606, in test_callback_not_retried_after_commit_timeout [2019/03/07 13:55:20.972] s.with_transaction(callback) [2019/03/07 13:55:20.972] AssertionError: OperationFailure not raised [2019/03/07 13:55:20.972] ====================================================================== [2019/03/07 13:55:20.972] FAIL [0.111s]: test_callback_not_retried_after_timeout (test_transactions.TestTransactionsConvenientAPI) [2019/03/07 13:55:20.972] ---------------------------------------------------------------------- [2019/03/07 13:55:20.972] Traceback (most recent call last): [2019/03/07 13:55:20.972] File "C:\data\mci\d23971e56a7ba5e245ef07e072cbc059\src\test\__init__.py", line 410, in wrap [2019/03/07 13:55:20.972] return f(*args, **kwargs) [2019/03/07 13:55:20.972] File "C:\data\mci\d23971e56a7ba5e245ef07e072cbc059\src\test\test_transactions.py", line 580, in test_callback_not_retried_after_timeout [2019/03/07 13:55:20.972] ['insert', 'abortTransaction']) [2019/03/07 13:55:20.972] AssertionError: Lists differ: ['ins[19 chars]tion', 'insert', 'abortTransaction', 'insert',[15 chars]ion'] != ['ins[19 chars]tion'] [2019/03/07 13:55:20.972] First list contains 4 additional elements. [2019/03/07 13:55:20.972] First extra element 2: [2019/03/07 13:55:20.972] 'insert' [2019/03/07 13:55:20.972] - ['insert', [2019/03/07 13:55:20.972] - 'abortTransaction', [2019/03/07 13:55:20.972] - 'insert', [2019/03/07 13:55:20.972] - 'abortTransaction', [2019/03/07 13:55:20.972] - 'insert', [2019/03/07 13:55:20.972] - 'abortTransaction'] [2019/03/07 13:55:20.972] + ['insert', 'abortTransaction'] [2019/03/07 13:55:20.972] ? ++++++++++
- is caused by
-
PYTHON-1671 Implement Convenient API for Transactions
- Closed