def tearDown(self):
     try:
         self.opman1.join()
     except RuntimeError:
         pass                # thread may not have been started
     try:
         self.opman2.join()
     except RuntimeError:
         pass                # thread may not have been started
     self.mongos_conn.close()
     self.shard1_conn.close()
     self.shard2_conn.close()
     self.shard1_secondary_conn.close()
     self.shard2_secondary_conn.close()
     kill_all()
예제 #2
0
 def tearDownClass(cls):
     """ Kills cluster instance
     """
     kill_mongo_proc(HOSTNAME, 30000)
     kill_all()
예제 #3
0
 def tearDownClass(cls):
     """ Tears down connector
     """
     cls.connector.join()
     kill_all()
예제 #4
0
 def tearDown(self):
     kill_all()
예제 #5
0
 def tearDownClass(cls):
     """ Kills cluster instance
     """
     kill_mongo_proc(HOSTNAME, 30000)
     kill_all()
 def tearDownClass(cls):
     """ Kills cluster instance
     """
     kill_all()
예제 #7
0
 def tearDown(self):
     kill_all()
 def tearDownClass(cls):
     """ Tears down connector
     """
     cls.connector.join()
     kill_all()
 def tearDownClass(cls):
     """ Kills cluster instance
     """
     kill_all()