From 1d24e6fc13770622bee009e6f51bc469e17b5051 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Sat, 8 Jun 2024 13:47:06 +0200 Subject: [PATCH] chore(MongoBinaryDownloadUrl): update for mongodb 7.0.9 and ubuntu 24.04 though nothing changed as there are no build beyond 22.04 yet --- .../src/util/MongoBinaryDownloadUrl.ts | 2 +- .../src/util/__tests__/MongoBinaryDownloadUrl.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts b/packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts index 2e9eb1e4..f8583e8e 100644 --- a/packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts +++ b/packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts @@ -587,7 +587,7 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts { * Highest ubuntu year supported by mongodb binaries * @see https://www.mongodb.com/download-center/community/releases/archive */ - const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.4 + const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.9 if (ubuntuYear > highestUbuntuYear) { log( diff --git a/packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownloadUrl.test.ts b/packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownloadUrl.test.ts index b6a049d6..623998e7 100644 --- a/packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownloadUrl.test.ts +++ b/packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownloadUrl.test.ts @@ -356,7 +356,7 @@ describe('MongoBinaryDownloadUrl', () => { os: { os: 'linux', dist: 'ubuntu', - release: '23.04', // highest released ubuntu version + release: '24.04', // highest released ubuntu version }, }); expect(await du.getDownloadUrl()).toBe(