test_database.TestDatabase.test_errors fails rarely because the operationTime and $clusterTime fields change:
FAILURE: {u'co[182 chars]399, 110), u'signature': {u'keyId': 6551234266[173 chars]110)} != {u'co[182 chars]399, 88), u'signature': {u'keyId': 65512342665[171 chars] 87)}
Diff is 823 characters long. Set self.maxDiff to None to see it. (AssertionError)
Traceback (most recent call last):
File "/data/mci/9550dcd08a0c3bbe760871d261f5dee4/src/test/__init__.py", line 402, in wrap
return f(*args, **kwargs)
File "/data/mci/9550dcd08a0c3bbe760871d261f5dee4/src/test/test_database.py", line 420, in test_errors
self.assertEqual(error, prev_error)
AssertionError: {u'co[182 chars]399, 110), u'signature': {u'keyId': 6551234266[173 chars]110)} != {u'co[182 chars]399, 88), u'signature': {u'keyId': 65512342665[171 chars] 87)}
Diff is 823 characters long. Set self.maxDiff to None to see it.
We should pop these fields before comparing the command results.