Closed mikhail-angelov closed 5 years ago
We has solved this problem by following workaround: fix mongodb-download
package version in package.json to 2.2.3
- after it works very well
"mongo-unit": "^1.2.0",
"mongodb-download": "2.2.3",
"mongodb-prebuilt": "^6.3.4",
But of course problem still faced and should be fixed by mongodb-prebuild
maintainers
Should be fixed by winfinit/mongodb-download#27
It's better to use https protocol to load mongodb binary e.g. current load url is: http://downloads.mongodb.org/linux/mongodb-linux-x86_64-debian71-latest.tgz but resource is available via https://downloads.mongodb.org/linux/mongodb-linux-x86_64-debian71-latest.tgz as well
it may help to use this library for unit tests on free plans on service CI or cycle CI currently it hungs with error like this