self.daemon_type = daemon_type
self.daemon_id = daemon_id
self.controller = LocalRemote()
+ self.proc = None
@property
def remote(self):
if self._get_pid() is not None:
self.stop()
- self.controller.run([os.path.join(BIN_PREFIX, "./ceph-{0}".format(self.daemon_type)), "-i", self.daemon_id])
+ self.proc = self.controller.run([os.path.join(BIN_PREFIX, "./ceph-{0}".format(self.daemon_type)), "-i", self.daemon_id])
def safe_kill(pid):
class LocalFuseMount(FuseMount):
def __init__(self, test_dir, client_id):
super(LocalFuseMount, self).__init__(None, test_dir, client_id, LocalRemote())
+ self._proc = None
@property
def config_path(self):