Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo 3.x doesn't work on Windows with embed.mongo 4.x #546

Open
pnavato opened this issue Nov 11, 2024 · 1 comment
Open

Mongo 3.x doesn't work on Windows with embed.mongo 4.x #546

pnavato opened this issue Nov 11, 2024 · 1 comment
Assignees

Comments

@pnavato
Copy link

pnavato commented Nov 11, 2024

I'm upgrading from embed.mongo 3.4.11 to 4.x. The new version downloads a different artifact and fails.
Steps to reproduce:

  1. In de.flapdoodle.embed.mongo.canary/blob/main/embed-spring-boot-27/src/main/resources/application.properties change the MongoDB version from 4.4.0 to 3.4.15 or 3.6.22.
  2. Run mvn verify.

For MongoDB 3.4.15, the old embed.mongo downloaded mongodb-win32-x86_64-3.4.15.zip while the new one downloads win32mongodb-win32-x86-64-2008plus-ssl-3-4-15-zip but the real problem is that it doesn't unpack the full archive: it unpacks mongod.exe only and, if I try to run it, it complains that ssleay32.dll is not available (but it is present in the zip archive).

If I execute the same steps on a CentOS 7 server, embed.mongo downloads the same archive as before and the test works.

@michaelmosmann
Copy link
Member

@pnavato ah.. ok.. so you need this old version? I will see if i can fix this.

@michaelmosmann michaelmosmann self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants