Skip to content

Commit

Permalink
feat: update binary 4.2 to 4.2.23
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Jun 9, 2023
1 parent 81acdfe commit 49816ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/guides/mongodb-server-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If the branch is named like `old/`, then it means that this package will not be
| Package Name | Provided MongoDB Version | Current Branch |
| :--------------------------------: | :----------------------: | :------------: |
| `mongodb-memory-server-global-4.4` | 4.4.22 | `master` |
| `mongodb-memory-server-global-4.2` | 4.2.18 | `master` |
| `mongodb-memory-server-global-4.2` | 4.2.23 | `master` |
| `mongodb-memory-server-global-4.0` | 4.0.28 | `master` |
| `mongodb-memory-server-global-3.6` | 3.6.23 | `old/7.x` |
| `mongodb-memory-server-global-3.4` | 3.4.20 | `old/6.x` |
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { assertion, isNullOrUndefined } from '../../util/utils';
export = async function globalSetup(): Promise<void> {
const defaultVersion = resolveConfig(ResolveConfigVariables.VERSION);
assertion(!isNullOrUndefined(defaultVersion), new Error('Default version is not defined'));
const versions = [defaultVersion, '4.0.28', '4.2.18', '4.4.22', '5.0.18', '6.0.0'];
const versions = [defaultVersion, '4.0.28', '4.2.23', '4.4.22', '5.0.18', '6.0.0'];
// Ensure all required versions are downloaded for tests
for (const version of versions) {
await MongoBinary.getPath({ version });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ describe('MongodbInstance', () => {
const gotPort = await getPort({ port: 27445 });
const mongod = await MongodbInstance.create({
instance: { port: gotPort, dbPath: tmpDir },
binary: { version: '4.2.18' },
binary: { version: '4.2.23' },
});
expect(mongod.mongodProcess!.pid).toBeGreaterThan(0);
await mongod.stop();
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-memory-server-global-4.2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongodb-memory-server-global-4.2",
"version": "8.12.2",
"mongodb_version": "4.2.18",
"mongodb_version": "4.2.23",
"description": "MongoDB Server for testing (auto-download 4.2 version to ~/.cache/mongodb-binaries).",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 49816ee

Please sign in to comment.