-
Notifications
You must be signed in to change notification settings - Fork 393
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
Rework integration test setup for validator #2225
Rework integration test setup for validator #2225
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2225 +/- ##
==========================================
- Coverage 70.91% 70.87% -0.04%
==========================================
Files 371 371
Lines 17324 17308 -16
==========================================
- Hits 12285 12267 -18
Misses 4014 4014
- Partials 1025 1027 +2
... and 3 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Nice job! It makes tests a lot more consistent!
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 also try to remove documentValidationFailureCode
by marking data provides as incompatible or by updating schema/validators
624b5d6
@AlekSi this requires quite a bit more work. I suggest handling this in separate PR. #2253 |
@chilagrow sounds good, let's add a short comment and TODO URL |
v0.9.4 https://github.com/FerretDB/FerretDB/releases/tag/v0.9.4 2023-03-27 * Support dot notation in sorting by @rumyantseva in FerretDB#2156 * Add support for `$each` modifier to `$addToSet` array update operator by @w84thesun in FerretDB#2187 * Add support for `$each` modifier to `$push` array update operator by @w84thesun in FerretDB#2202 * Add support for `$pull` array update operator by @w84thesun in FerretDB#2222 * Fix `hana` and `tigris` handlers initialization by @AlekSi in FerretDB#2234 * Fix long overflow detection on `$mul` by @noisersup in FerretDB#2232 * Fix pushdown for large double values by @noisersup in FerretDB#2163 * Support `skip` argument for `find` and `count` by @rumyantseva in FerretDB#2193 * Support query pushdown for `$match` aggregation stage by @chilagrow in FerretDB#2199 * Rework integration test setup for validator by @chilagrow in FerretDB#2225 * Change collection names mangling for PostgreSQL by @chilagrow in FerretDB#2239 * Implement `nameOnly` for `listCollections` command by @kropidlowsky in FerretDB#2247 * Extract dollar path field expression to types package by @chilagrow in FerretDB#2263 * Prevent confusing messages for embedded FerretDB by @AlekSi in FerretDB#2209 * Add new FerretDB v0.9.3 release blogpost by @Fashander in FerretDB#2201 * Add documentation for `all-in-one` Docker image by @AlekSi in FerretDB#2215 * Tweak Docker docs a bit by @AlekSi in FerretDB#2228 * Add section about field update operators by @Fashander in FerretDB#2180 * Update telemetry information by @Fashander in FerretDB#2243 * Add basic security policy by @AlekSi in FerretDB#2242 * Add new blog post - MongoDB vs PostgreSQL by @Fashander in FerretDB#2146 * Document array update operator by @Fashander in FerretDB#2237 * Merge and speedup packages building by @AlekSi in FerretDB#2195 * Provide "all-in-one" Docker image by @AlekSi in FerretDB#2183 * Improve logging of retries by @AlekSi in FerretDB#2192 * Split `TestQueryCompatRunner` back into separate tests by @chilagrow in FerretDB#2189 * Fix telemetry tag and improve unimplemented error in aggregation by @chilagrow in FerretDB#2198 * Improve build cache usage by @AlekSi in FerretDB#2197 * Add CI configuration for Hana by @AlekSi in FerretDB#2194 * Use `runit` for all-in-one Docker image by @AlekSi in FerretDB#2203 * Pass `struct`s by pointers by @AlekSi in FerretDB#2221 * Skip a `$mod` test for arm64 by @rumyantseva in FerretDB#2223 * Fix `env-data` Taskfile by @chilagrow in FerretDB#2211 * Make `listIndexes` use data from the database by @rumyantseva in FerretDB#2214 * Tweak dependabot config by @AlekSi in FerretDB#2233 * Filter documents with iterators by @AlekSi in FerretDB#2245 * Add a few query tests by @AlekSi in FerretDB#2260 * Fix traffic recording by @AlekSi in FerretDB#2267 * Cleanup unimplemented and ignored parameters by @AlekSi in FerretDB#2258 * Bump deps by @AlekSi in FerretDB#2264 * Collection deletion and metadata refactoring by @rumyantseva in FerretDB#2224 * Update diff.md for database name differences by @chilagrow in FerretDB#2274 * Remove indexes from `DocumentsIterator` by @AlekSi in FerretDB#2278 * Bump Tigris to 1.0.0-beta.51 by @AlekSi in FerretDB#2277 * @kropidlowsky made their first contribution in FerretDB#2247 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/38?closed=1 All commits: FerretDB/FerretDB@v0.9.3...v0.9.4
v0.9.4 https://github.com/FerretDB/FerretDB/releases/tag/v0.9.4 2023-03-27 * Support dot notation in sorting by @rumyantseva in FerretDB#2156 * Add support for `$each` modifier to `$addToSet` array update operator by @w84thesun in FerretDB#2187 * Add support for `$each` modifier to `$push` array update operator by @w84thesun in FerretDB#2202 * Add support for `$pull` array update operator by @w84thesun in FerretDB#2222 * Fix `hana` and `tigris` handlers initialization by @AlekSi in FerretDB#2234 * Fix long overflow detection on `$mul` by @noisersup in FerretDB#2232 * Fix pushdown for large double values by @noisersup in FerretDB#2163 * Support `skip` argument for `find` and `count` by @rumyantseva in FerretDB#2193 * Support query pushdown for `$match` aggregation stage by @chilagrow in FerretDB#2199 * Rework integration test setup for validator by @chilagrow in FerretDB#2225 * Change collection names mangling for PostgreSQL by @chilagrow in FerretDB#2239 * Implement `nameOnly` for `listCollections` command by @kropidlowsky in FerretDB#2247 * Extract dollar path field expression to types package by @chilagrow in FerretDB#2263 * Prevent confusing messages for embedded FerretDB by @AlekSi in FerretDB#2209 * Add new FerretDB v0.9.3 release blogpost by @Fashander in FerretDB#2201 * Add documentation for `all-in-one` Docker image by @AlekSi in FerretDB#2215 * Tweak Docker docs a bit by @AlekSi in FerretDB#2228 * Add section about field update operators by @Fashander in FerretDB#2180 * Update telemetry information by @Fashander in FerretDB#2243 * Add basic security policy by @AlekSi in FerretDB#2242 * Add new blog post - MongoDB vs PostgreSQL by @Fashander in FerretDB#2146 * Document array update operator by @Fashander in FerretDB#2237 * Merge and speedup packages building by @AlekSi in FerretDB#2195 * Provide "all-in-one" Docker image by @AlekSi in FerretDB#2183 * Improve logging of retries by @AlekSi in FerretDB#2192 * Split `TestQueryCompatRunner` back into separate tests by @chilagrow in FerretDB#2189 * Fix telemetry tag and improve unimplemented error in aggregation by @chilagrow in FerretDB#2198 * Improve build cache usage by @AlekSi in FerretDB#2197 * Add CI configuration for Hana by @AlekSi in FerretDB#2194 * Use `runit` for all-in-one Docker image by @AlekSi in FerretDB#2203 * Pass `struct`s by pointers by @AlekSi in FerretDB#2221 * Skip a `$mod` test for arm64 by @rumyantseva in FerretDB#2223 * Fix `env-data` Taskfile by @chilagrow in FerretDB#2211 * Make `listIndexes` use data from the database by @rumyantseva in FerretDB#2214 * Tweak dependabot config by @AlekSi in FerretDB#2233 * Filter documents with iterators by @AlekSi in FerretDB#2245 * Add a few query tests by @AlekSi in FerretDB#2260 * Fix traffic recording by @AlekSi in FerretDB#2267 * Cleanup unimplemented and ignored parameters by @AlekSi in FerretDB#2258 * Bump deps by @AlekSi in FerretDB#2264 * Collection deletion and metadata refactoring by @rumyantseva in FerretDB#2224 * Update diff.md for database name differences by @chilagrow in FerretDB#2274 * Remove indexes from `DocumentsIterator` by @AlekSi in FerretDB#2278 * Bump Tigris to 1.0.0-beta.51 by @AlekSi in FerretDB#2277 * @kropidlowsky made their first contribution in FerretDB#2247 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/38?closed=1 All commits: FerretDB/FerretDB@v0.9.3...v0.9.4
v0.9.4 https://github.com/FerretDB/FerretDB/releases/tag/v0.9.4 2023-03-27 * Support dot notation in sorting by @rumyantseva in FerretDB#2156 * Add support for `$each` modifier to `$addToSet` array update operator by @w84thesun in FerretDB#2187 * Add support for `$each` modifier to `$push` array update operator by @w84thesun in FerretDB#2202 * Add support for `$pull` array update operator by @w84thesun in FerretDB#2222 * Fix `hana` and `tigris` handlers initialization by @AlekSi in FerretDB#2234 * Fix long overflow detection on `$mul` by @noisersup in FerretDB#2232 * Fix pushdown for large double values by @noisersup in FerretDB#2163 * Support `skip` argument for `find` and `count` by @rumyantseva in FerretDB#2193 * Support query pushdown for `$match` aggregation stage by @chilagrow in FerretDB#2199 * Rework integration test setup for validator by @chilagrow in FerretDB#2225 * Change collection names mangling for PostgreSQL by @chilagrow in FerretDB#2239 * Implement `nameOnly` for `listCollections` command by @kropidlowsky in FerretDB#2247 * Extract dollar path field expression to types package by @chilagrow in FerretDB#2263 * Prevent confusing messages for embedded FerretDB by @AlekSi in FerretDB#2209 * Add new FerretDB v0.9.3 release blogpost by @Fashander in FerretDB#2201 * Add documentation for `all-in-one` Docker image by @AlekSi in FerretDB#2215 * Tweak Docker docs a bit by @AlekSi in FerretDB#2228 * Add section about field update operators by @Fashander in FerretDB#2180 * Update telemetry information by @Fashander in FerretDB#2243 * Add basic security policy by @AlekSi in FerretDB#2242 * Add new blog post - MongoDB vs PostgreSQL by @Fashander in FerretDB#2146 * Document array update operator by @Fashander in FerretDB#2237 * Merge and speedup packages building by @AlekSi in FerretDB#2195 * Provide "all-in-one" Docker image by @AlekSi in FerretDB#2183 * Improve logging of retries by @AlekSi in FerretDB#2192 * Split `TestQueryCompatRunner` back into separate tests by @chilagrow in FerretDB#2189 * Fix telemetry tag and improve unimplemented error in aggregation by @chilagrow in FerretDB#2198 * Improve build cache usage by @AlekSi in FerretDB#2197 * Add CI configuration for Hana by @AlekSi in FerretDB#2194 * Use `runit` for all-in-one Docker image by @AlekSi in FerretDB#2203 * Pass `struct`s by pointers by @AlekSi in FerretDB#2221 * Skip a `$mod` test for arm64 by @rumyantseva in FerretDB#2223 * Fix `env-data` Taskfile by @chilagrow in FerretDB#2211 * Make `listIndexes` use data from the database by @rumyantseva in FerretDB#2214 * Tweak dependabot config by @AlekSi in FerretDB#2233 * Filter documents with iterators by @AlekSi in FerretDB#2245 * Add a few query tests by @AlekSi in FerretDB#2260 * Fix traffic recording by @AlekSi in FerretDB#2267 * Cleanup unimplemented and ignored parameters by @AlekSi in FerretDB#2258 * Bump deps by @AlekSi in FerretDB#2264 * Collection deletion and metadata refactoring by @rumyantseva in FerretDB#2224 * Update diff.md for database name differences by @chilagrow in FerretDB#2274 * Remove indexes from `DocumentsIterator` by @AlekSi in FerretDB#2278 * Bump Tigris to 1.0.0-beta.51 by @AlekSi in FerretDB#2277 * @kropidlowsky made their first contribution in FerretDB#2247 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/38?closed=1 All commits: FerretDB/FerretDB@v0.9.3...v0.9.4
v0.9.4 https://github.com/FerretDB/FerretDB/releases/tag/v0.9.4 2023-03-27 * Support dot notation in sorting by @rumyantseva in FerretDB#2156 * Add support for `$each` modifier to `$addToSet` array update operator by @w84thesun in FerretDB#2187 * Add support for `$each` modifier to `$push` array update operator by @w84thesun in FerretDB#2202 * Add support for `$pull` array update operator by @w84thesun in FerretDB#2222 * Fix `hana` and `tigris` handlers initialization by @AlekSi in FerretDB#2234 * Fix long overflow detection on `$mul` by @noisersup in FerretDB#2232 * Fix pushdown for large double values by @noisersup in FerretDB#2163 * Support `skip` argument for `find` and `count` by @rumyantseva in FerretDB#2193 * Support query pushdown for `$match` aggregation stage by @chilagrow in FerretDB#2199 * Rework integration test setup for validator by @chilagrow in FerretDB#2225 * Change collection names mangling for PostgreSQL by @chilagrow in FerretDB#2239 * Implement `nameOnly` for `listCollections` command by @kropidlowsky in FerretDB#2247 * Extract dollar path field expression to types package by @chilagrow in FerretDB#2263 * Prevent confusing messages for embedded FerretDB by @AlekSi in FerretDB#2209 * Add new FerretDB v0.9.3 release blogpost by @Fashander in FerretDB#2201 * Add documentation for `all-in-one` Docker image by @AlekSi in FerretDB#2215 * Tweak Docker docs a bit by @AlekSi in FerretDB#2228 * Add section about field update operators by @Fashander in FerretDB#2180 * Update telemetry information by @Fashander in FerretDB#2243 * Add basic security policy by @AlekSi in FerretDB#2242 * Add new blog post - MongoDB vs PostgreSQL by @Fashander in FerretDB#2146 * Document array update operator by @Fashander in FerretDB#2237 * Merge and speedup packages building by @AlekSi in FerretDB#2195 * Provide "all-in-one" Docker image by @AlekSi in FerretDB#2183 * Improve logging of retries by @AlekSi in FerretDB#2192 * Split `TestQueryCompatRunner` back into separate tests by @chilagrow in FerretDB#2189 * Fix telemetry tag and improve unimplemented error in aggregation by @chilagrow in FerretDB#2198 * Improve build cache usage by @AlekSi in FerretDB#2197 * Add CI configuration for Hana by @AlekSi in FerretDB#2194 * Use `runit` for all-in-one Docker image by @AlekSi in FerretDB#2203 * Pass `struct`s by pointers by @AlekSi in FerretDB#2221 * Skip a `$mod` test for arm64 by @rumyantseva in FerretDB#2223 * Fix `env-data` Taskfile by @chilagrow in FerretDB#2211 * Make `listIndexes` use data from the database by @rumyantseva in FerretDB#2214 * Tweak dependabot config by @AlekSi in FerretDB#2233 * Filter documents with iterators by @AlekSi in FerretDB#2245 * Add a few query tests by @AlekSi in FerretDB#2260 * Fix traffic recording by @AlekSi in FerretDB#2267 * Cleanup unimplemented and ignored parameters by @AlekSi in FerretDB#2258 * Bump deps by @AlekSi in FerretDB#2264 * Collection deletion and metadata refactoring by @rumyantseva in FerretDB#2224 * Update diff.md for database name differences by @chilagrow in FerretDB#2274 * Remove indexes from `DocumentsIterator` by @AlekSi in FerretDB#2278 * Bump Tigris to 1.0.0-beta.51 by @AlekSi in FerretDB#2277 * @kropidlowsky made their first contribution in FerretDB#2247 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/38?closed=1 All commits: FerretDB/FerretDB@v0.9.3...v0.9.4
Description
Closes #1568.
backend
in test setup and shared data, and removedhandler
references.Readiness checklist
task all
, and it passed.@FerretDB/core
), Assignee, Labels, Project and project's Sprint fields.