Skip to content

Commit

Permalink
feat: update default-4.2-binary to 4.2.24
Browse files Browse the repository at this point in the history
from 4.2.23
  • Loading branch information
hasezoey committed Apr 19, 2024
1 parent df5eec0 commit 63fcfc2
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 @@ -52,7 +52,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.28 | `master` |
| `mongodb-memory-server-global-4.2` | 4.2.23 | `master` |
| `mongodb-memory-server-global-4.2` | 4.2.24 | `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.23', '4.4.28', '5.0.19', '6.0.14', '7.0.0'];
const versions = [defaultVersion, '4.0.28', '4.2.24', '4.4.28', '5.0.19', '6.0.14', '7.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 @@ -223,7 +223,7 @@ describe('MongodbInstance', () => {
const gotPort = await getFreePort(27445);
const mongod = await MongodbInstance.create({
instance: { port: gotPort, dbPath: tmpDir },
binary: { version: '4.2.23' },
binary: { version: '4.2.24' },
});
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": "9.1.8",
"mongodb_version": "4.2.23",
"mongodb_version": "4.2.24",
"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 63fcfc2

Please sign in to comment.