Skip to content

Commit 1d24e6f

Browse files
committed
chore(MongoBinaryDownloadUrl): update for mongodb 7.0.9 and ubuntu 24.04
though nothing changed as there are no build beyond 22.04 yet
1 parent 241742c commit 1d24e6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {
587587
* Highest ubuntu year supported by mongodb binaries
588588
* @see https://www.mongodb.com/download-center/community/releases/archive
589589
*/
590-
const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.4
590+
const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.9
591591

592592
if (ubuntuYear > highestUbuntuYear) {
593593
log(

packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownloadUrl.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ describe('MongoBinaryDownloadUrl', () => {
356356
os: {
357357
os: 'linux',
358358
dist: 'ubuntu',
359-
release: '23.04', // highest released ubuntu version
359+
release: '24.04', // highest released ubuntu version
360360
},
361361
});
362362
expect(await du.getDownloadUrl()).toBe(

0 commit comments

Comments
 (0)