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
Currently forceSamePort can only be set via the MongoMemoryServer.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 to true and port 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:
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: