Skip to content

Conversation

@ShaneHarvey
Copy link
Member

No description provided.

@ShaneHarvey
Copy link
Member Author

Fixes this mockupdb failure:

 [2022/05/03 02:19:00.604] FAIL: test_estimated_document_count (test_mixed_version_sharded.TestMixedVersionSharded)
 [2022/05/03 02:19:00.604] ----------------------------------------------------------------------
 [2022/05/03 02:19:00.604] Traceback (most recent call last):
 [2022/05/03 02:19:00.604]   File "/data/mci/f4b8464dc14af947152548ddabec981b/src/test/mockupdb/test_mixed_version_sharded.py", line 71, in test
 [2022/05/03 02:19:00.604]     upgrade.old if request.server is self.mongos_old else upgrade.new
 [2022/05/03 02:19:00.604]   File "/data/mci/f4b8464dc14af947152548ddabec981b/src/mockuptests/lib/python3.6/site-packages/mockupdb/__init__.py", line 427, in assert_matches
 [2022/05/03 02:19:00.604]     raise AssertionError('%r does not match %r' % (self, matcher))
 [2022/05/03 02:19:00.604] AssertionError: OpMsg({"count": "collection", "$db": "db"}, namespace="db") does not match Matcher(OpMsg({"aggregate": "collection"}, namespace="db"))

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@ShaneHarvey ShaneHarvey merged commit 502effe into mongodb:master May 5, 2022
ShaneHarvey added a commit to ShaneHarvey/mongo-python-driver that referenced this pull request May 5, 2022
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants