We are using this library for the e2e-testing on our project and want to detect potential problems with replication lag. Is there any way we can emulate a large replication delay? Have already tried to use secondaryDelaySecs as a configuration option for the replica instance. But it's supported and works only with hidden instances.
Maybe there is some other solution to use this library and configure replication lag?
Versions
package: mongo-memory-server
What is your question?
We are using this library for the e2e-testing on our project and want to detect potential problems with replication lag. Is there any way we can emulate a large replication delay? Have already tried to use secondaryDelaySecs as a configuration option for the replica instance. But it's supported and works only with hidden instances. Maybe there is some other solution to use this library and configure replication lag?