MCPcopy
hub / github.com/yougov/mongo-connector / tearDown

Method tearDown

tests/test_command_replication.py:84–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self.opman = None
83
84 def tearDown(self):
85 try:
86 if self.opman:
87 self.opman.join()
88 except RuntimeError:
89 pass
90 close_client(self.primary_conn)
91 self.repl_set.stop()
92
93 def initOplogThread(self, namespace_set=None):
94 self.docman = CommandLoggerDocManager()

Callers

nothing calls this directly

Calls 3

close_clientFunction · 0.90
joinMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected