Skip to content

Commit

Permalink
feat: update binary 4.4 to 4.4.22
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Jun 9, 2023
1 parent ba37680 commit 81acdfe
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 @@ -48,7 +48,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.13 | `master` |
| `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.0` | 4.0.28 | `master` |
| `mongodb-memory-server-global-3.6` | 3.6.23 | `old/7.x` |
Expand Down
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.13', '5.0.18', '6.0.0'];
const versions = [defaultVersion, '4.0.28', '4.2.18', '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 @@ -232,7 +232,7 @@ describe('MongodbInstance', () => {
const gotPort = await getPort({ port: 27445 });
const mongod = await MongodbInstance.create({
instance: { port: gotPort, dbPath: tmpDir },
binary: { version: '4.4.13' },
binary: { version: '4.4.22' },
});
expect(mongod.mongodProcess!.pid).toBeGreaterThan(0);
await mongod.stop();
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb-memory-server-global-4.4/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongodb-memory-server-global-4.4",
"version": "8.12.2",
"mongodb_version": "4.4.13",
"mongodb_version": "4.4.22",
"description": "MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 81acdfe

Please sign in to comment.