forked from TrueCloudLab/frostfs-testlib
Add get_data_directory function
This commit is contained in:
parent
26a78c0eae
commit
f2f3d3c8e3
3 changed files with 19 additions and 0 deletions
|
@ -112,6 +112,18 @@ class Host(ABC):
|
|||
service_name: Name of the service to restart.
|
||||
"""
|
||||
|
||||
|
||||
@abstractmethod
|
||||
def get_data_directory(self, service_name: str) -> str:
|
||||
"""
|
||||
Getting path to data directory on node for further usage
|
||||
(example: list databases pilorama.db)
|
||||
|
||||
Args:
|
||||
service_name: Name of storage node service.
|
||||
"""
|
||||
|
||||
|
||||
@abstractmethod
|
||||
def wait_success_suspend_process(self, process_name: str) -> None:
|
||||
"""Search for a service ID by its name and stop the process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue