def run(self):
        """Run the hight quarter, lunch the turrets and wait for results
        """
        elapsed = 0
        start_time = time.time()
        self._publish({'command': 'start', 'msg': 'open fire'})
        self.started = True
        while elapsed <= (self.config['run_time']):
            try:
                self._run_loop_action()
                self._print_status(elapsed)
                elapsed = time.time() - start_time
            except (Exception, __HOLE__):
                print("\nStopping test, sending stop command to turrets")
                self._publish({'command': 'stop', 'msg': 'premature stop'})
                traceback.print_exc()
                break
        self._publish({'command': 'stop', 'msg': 'stopping fire'})
        print("\n\nProcessing all remaining messages...")
        self.result_collector.unbind(self.result_collector.LAST_ENDPOINT)
        self._clean_queue()
dataset/ETHPy150Open TheGhouls/oct/oct/core/hq.py/HightQuarter.run