Пример #1
0
 def tearDown(self):
     ha_tools.kill_all_members()
     ha_tools.nodes.clear()
     ha_tools.routers.clear()
     ha_tools.config_dbs.clear()
     time.sleep(1)  # Let members really die.
Пример #2
0
 def tearDown(self):
     self.c.close()
     ha_tools.kill_all_members()
Пример #3
0
 def tearDown(self):
     ha_tools.kill_all_members()
Пример #4
0
 def tearDown(self):
     super(MotorTestHealthMonitor, self).tearDown()
     ha_tools.kill_all_members()
Пример #5
0
 def tearDown(self):
     self.c.close()
     ha_tools.kill_all_members()
     self.clear_ping_times()
Пример #6
0
 def tearDown(self):
     Monitor._refresh_interval = MONITOR_INTERVAL
     ha_tools.kill_all_members()
Пример #7
0
 def tearDown(self):
     ha_tools.kill_all_members()
     self.c.close()
     super(MotorTestPassiveAndHidden, self).tearDown()
Пример #8
0
 def tearDown(self):
     ha_tools.kill_all_members()
     self.c.close()
     super(MotorTestDirectConnection, self).tearDown()
Пример #9
0
 def tearDown(self):
     self.conn.disconnect() # Force reconnect, things have happened ....
     self.conn.drop_database(self.dbname)
     ha_tools.kill_all_members()
Пример #10
0
 def tearDown(self):
     ha_tools.kill_all_members()
     ha_tools.nodes.clear()
     ha_tools.routers.clear()
     ha_tools.config_dbs.clear()
     time.sleep(1)  # Let members really die.