We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03f0177 commit f88c5ffCopy full SHA for f88c5ff
1 file changed
test/test_bulk.py
@@ -1043,7 +1043,7 @@ def test_write_concern_failure_ordered(self):
1043
'op': {'_id': '...', 'a': 1}}]},
1044
result)
1045
1046
- self.assertEqual(2, len(result['writeConcernErrors']))
+ self.assertTrue(len(result['writeConcernErrors']) > 1)
1047
failed = result['writeErrors'][0]
1048
self.assertTrue("duplicate" in failed['errmsg'])
1049
finally:
0 commit comments