Skip to content

Commit

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

Please sign in to comment.