-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to MongoDB 6 #1074
Migrate to MongoDB 6 #1074
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1074 +/- ##
==========================================
+ Coverage 65.90% 66.16% +0.26%
==========================================
Files 248 248
Lines 11874 11950 +76
==========================================
+ Hits 7825 7907 +82
+ Misses 3185 3176 -9
- Partials 864 867 +3
Flags with carried forward coverage won't be shown. Click here to find out more. |
@rumyantseva PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that looks reasonable, and I don't see other places we might need to "migrate".
Message: `No log named 'nonExistentName'`, | ||
}, | ||
alt: `no RecentEntries named: nonExistentName`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need both messages there? I think they should be the same now
@@ -50,11 +50,11 @@ func TestCommandsReplicationIsMaster(t *testing.T) { | |||
delete(m, "localTime") | |||
|
|||
maxWireVersion := m["maxWireVersion"].(int32) | |||
assert.True(t, maxWireVersion == 0 || maxWireVersion == 13) | |||
assert.True(t, maxWireVersion == 0 || maxWireVersion == 17) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a comment explaining why we need == 0
in those lines
Message: ` invalid flag in regex options: 1`, | ||
}, | ||
altMessage: `invalid flag in regex options: 1`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think altMessage was supposed to be MongoDB's error, not vise versa.
Let's rename AssertEqualAltError
argument names and update docs to mention that if that's true
Description
Closes #1083.
Readiness checklist
task all
, and it passed.task godocs
.@FerretDB/core
), Assignee, Labels, Project and project's Sprint fields.