flapdoodle-oss / de.flapdoodle.embed.mongo

...will provide a platform neutral way for running mongodb in unittests.
Apache License 2.0
907 stars 161 forks source link

fix(args): allow argument key without value #445

Closed pinguet62 closed 1 year ago

pinguet62 commented 1 year ago

Hello 👋

Previously in version 3, MongodConfig allowed args without value (ex: --notablescan). https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/blob/de.flapdoodle.embed.mongo-3.4.11/src/main/java/de/flapdoodle/embed/mongo/runtime/Mongod.java#L177

But now we cannot: MongodArguments add an empty String in command line arguments, then the process fails.

michaelmosmann commented 1 year ago

@pinguet62 thanks:)