Skip to content

Commit

Permalink
test(MongoBinaryDownloadUrl): add test for fedora 40 & 8.0.1
Browse files Browse the repository at this point in the history
re #896
  • Loading branch information
hasezoey committed Oct 31, 2024
1 parent 2e7b205 commit 1cd516f
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,23 @@ describe('MongoBinaryDownloadUrl', () => {
'https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel8-7.0.14.tgz'
);
});

it('fedora 40 (x86_64) & 8.0.1 (using rhel8)', async () => {
const du = new MongoBinaryDownloadUrl({
platform: 'linux',
arch: 'x64',
version: '8.0.1',
os: {
os: 'linux',
dist: 'fedora',
release: '40',
},
});

expect(await du.getDownloadUrl()).toBe(
'https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel8-8.0.1.tgz'
);
});
});

describe('for amazon', () => {
Expand Down

0 comments on commit 1cd516f

Please sign in to comment.