def teardown(self): self.send(self.main_driver, thespian.actors.ActorExitRequest()) self.main_driver = None self.logger.info("Asking mechanic to stop the engine.") self.send(self.mechanic, mechanic.StopEngine())
def teardown(self): logger.info("Asking mechanic to stop the engine.") self.send(self.mechanic, mechanic.StopEngine())
def receiveMsg_BenchmarkComplete(self, msg, sender): self.coordinator.on_benchmark_complete(msg.metrics) self.send(self.main_driver, thespian.actors.ActorExitRequest()) self.main_driver = None self.logger.info("Asking mechanic to stop the engine.") self.send(self.mechanic, mechanic.StopEngine())