Change forceSamePort
parameter to also be a config option
#816
Labels
Milestone
forceSamePort
parameter to also be a config option
#816
Currently
forceSamePort
can only be set via theMongoMemoryServer.start
parameter, and is currently unavailable for.create
or replsets, this issue tracks to add some kind of option to InstanceOpts to force the same port.Note about semantics:
it will work the same as
forceSamePort
, where the parameter takes priority. if set totrue
andport
is defined, it will not generate a port,port
is undefined, it will generate a port regardless.The text was updated successfully, but these errors were encountered: