-
Type: Build Failure
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
Failures:
[2019/01/31 10:28:49.406] FAIL [0.055s]: test_ensure_index_threaded (test_legacy_api.TestLegacy) [2019/01/31 10:28:49.406] ---------------------------------------------------------------------- [2019/01/31 10:28:49.406] Traceback (most recent call last): [2019/01/31 10:28:49.406] File "/data/mci/77aaf195cbba38e3dc6e0bc85d75054b/src/test/test_legacy_api.py", line 1291, in test_ensure_index_threaded [2019/01/31 10:28:49.406] self.assertEqual(index_doc, first) [2019/01/31 10:28:49.406] AssertionError: {'_id[250 chars]ion'}, 'foo2_1': {'v': 2, 'key': [('foo2', 1)][43 chars]on'}} != {'_id[250 chars]ion'}} [2019/01/31 10:28:49.406] {'_id_': {'key': [('_id', 1)], [2019/01/31 10:28:49.406] 'ns': 'pymongo_test.threaded_index_creation', [2019/01/31 10:28:49.406] 'v': 2}, [2019/01/31 10:28:49.406] 'foo0_1': {'key': [('foo0', 1)], [2019/01/31 10:28:49.406] 'ns': 'pymongo_test.threaded_index_creation', [2019/01/31 10:28:49.406] 'v': 2}, [2019/01/31 10:28:49.406] 'foo1_1': {'key': [('foo1', 1)], [2019/01/31 10:28:49.406] 'ns': 'pymongo_test.threaded_index_creation', [2019/01/31 10:28:49.406] - 'v': 2}, [2019/01/31 10:28:49.406] - 'foo2_1': {'key': [('foo2', 1)], [2019/01/31 10:28:49.406] - 'ns': 'pymongo_test.threaded_index_creation', [2019/01/31 10:28:49.406] 'v': 2}} [2019/01/31 10:28:49.406]
And:
[2019/01/31 10:28:49.406] FAIL [0.429s]: test_ensure_unique_index_threaded (test_legacy_api.TestLegacy)
[2019/01/31 10:28:49.406] ----------------------------------------------------------------------
[2019/01/31 10:28:49.406] Traceback (most recent call last):
[2019/01/31 10:28:49.406] File "/data/mci/77aaf195cbba38e3dc6e0bc85d75054b/src/test/test_legacy_api.py", line 1351, in test_ensure_unique_index_threaded
[2019/01/31 10:28:49.406] self.assertEqual(10001, coll.count())
[2019/01/31 10:28:49.406] AssertionError: 10001 != 10018
- is caused by
-
SERVER-39323 Don't consider in-progress indexes when deciding whether or not to build an index under an intent lock
- Closed
- related to
-
PYTHON-1319 Remove Collection.ensure_index and Collection.reindex
- Closed