Enable replication on all secondaries.
(self, client)
| 1135 | secondary.admin.command("configureFailPoint", "stopReplProducer", mode="alwaysOn") |
| 1136 | |
| 1137 | def enable_replication(self, client): |
| 1138 | """Enable replication on all secondaries.""" |
| 1139 | for h, p in client.secondaries: |
| 1140 | secondary = self.single_client(h, p) |
| 1141 | secondary.admin.command("configureFailPoint", "stopReplProducer", mode="off") |
| 1142 | |
| 1143 | |
| 1144 | class UnitTest(PyMongoTestCase): |
nothing calls this directly
no test coverage detected