algoliasearch-client-python
algoliasearch-client-python copied to clipboard
Flaky test spotted
trafficstars
Found out about this flaky test as of 2.3.1 for py34-sync (but the version is probably not related) when running all tests in parallel with tox -p.
======================================================================
FAIL: test_cross_app_copy_index (tests.features.test_account_client.TestAccountClient)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/anthony.seure/algolia/algoliasearch-client-python/tests/features/test_account_client.py", line 60, in test_cross_app_copy_index
self.assertEqual(self.index2.get_synonym("one"), synonym)
AssertionError: {'typ[13 chars], 'synonyms': ['indicate', 'ago', 'leader'], 'objectID': 'one'} != {'typ[13 chars], 'synonyms': ['join', 'number', 'today'], 'objectID': 'one'}
+ {'objectID': 'one', 'synonyms': ['join', 'number', 'today'], 'type': 'synonym'}
- {'objectID': 'one',
- 'synonyms': ['indicate', 'ago', 'leader'],
- 'type': 'synonym'}
----------------------------------------------------------------------
Ran 110 tests in 99.876s
FAILED (failures=1)
ERROR: InvocationError for command /Users/anthony.seure/algolia/algoliasearch-client-python/.tox/py34-sync/bin/python -m unittest discover -v (exited with code 1)