You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mongodb-memory-server-core/src/util/__tests__/__snapshots__/MongoBinaryDownload.test.ts.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ exports[`MongoBinaryDownload extract() should extract zip archives 1`] = `"main
6
6
7
7
exports[`MongoBinaryDownload makeMD5check throws an error if md5 of downloaded mongoDBArchive is NOT the same as in the reference result 1`] =`"{\\"binarymd5\\":\\"anotherMD5\\",\\"checkfilemd5\\":\\"someMD5\\"}"`;
8
8
9
-
exports[`MongoBinaryDownload should download correctly should error of repeated retry errors 1`] =`"{\\"url\\":\\"https://localhost:5000/archive.tgz\\",\\"msg\\":\\"aborted\\",\\"code\\":\\"ECONNRESET\\",\\"maxRetries\\":2,\\"attempts\\":2}"`;
9
+
exports[`MongoBinaryDownload should download correctly https should error of repeated retry errors 1`] =`"{\\"url\\":\\"https://localhost:5000/archive.tgz\\",\\"msg\\":\\"aborted\\",\\"code\\":\\"ECONNRESET\\",\\"maxRetries\\":2,\\"attempts\\":2}"`;
10
10
11
-
exports[`MongoBinaryDownload should download correctly should error on 403 without retrying 1`] =`"{\\"url\\":\\"https://localhost:5000/archive.tgz\\",\\"msg\\":\\"Status Code is 403 (MongoDB's 404)\\\\nThis means that the requested version-platform combination doesn't exist\\\\nTry to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'\\\\nList of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive\\",\\"code\\":\\"Status: 403\\",\\"maxRetries\\":3,\\"attempts\\":1}"`;
11
+
exports[`MongoBinaryDownload should download correctly https should error on 403 without retrying 1`] =`"{\\"url\\":\\"https://localhost:5000/archive.tgz\\",\\"msg\\":\\"Status Code is 403 (MongoDB's 404)\\\\nThis means that the requested version-platform combination doesn't exist\\\\nTry to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'\\\\nList of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive\\",\\"code\\":\\"Status: 403\\",\\"maxRetries\\":3,\\"attempts\\":1}"`;
12
12
13
13
exports[`MongoBinaryDownload should passthrough options to MongoBinaryDownloadUrl 1`] =`"/path/to/somewhere/mongod-x64-custom-4.0.0"`;
0 commit comments