-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(mongodb): add support for v5 * refactor(mongodb): avoid duplicating code for v4 & v5 * fix: lint * refactor(mongodb): use range for mongodb version check * chore(mongodb): make test commands consistent * refactor(mongodb): adapt code based on main's changes * chore: revert mongodb bump in devDependencies * refactor: adapt code based on comments * chore: re-use old order for tests suites * refactor: simply metrics tests * test: fix DB name in v5 tests * chore: revert MongoDB to 3.6.11 in package.json * test: fix compilation issue due to different signatures (v3 vs v5) * fix: lint --------- Co-authored-by: Haddas Bronfman <85441461+haddasbronfman@users.noreply.github.com> Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
- Loading branch information
1 parent
8777cbd
commit 05c4e9e
Showing
7 changed files
with
672 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
mongodb: | ||
jobs: | ||
- versions: ">=3.3 <4" | ||
commands: npm run test | ||
commands: npm run test-v3 | ||
- versions: ">=4 <5" | ||
commands: npm run test-new-versions | ||
commands: npm run test-v4 | ||
- versions: ">=5 <6" | ||
commands: npm run test-v5 | ||
|
||
# Fix missing `contrib-test-utils` package | ||
pretest: npm run --prefix ../../../ lerna:link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.