Remove wait_for_success for start/stop service methods

Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
pull/6/head
Vladislav Karakozov 2023-02-06 19:05:03 +03:00 committed by Vlad K
parent fc6f9ac162
commit 850c0e77ec
3 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ repos:
- id: black
language_version: python3.9
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort (python)

View File

@ -46,11 +46,9 @@ class NodeBase:
def label(self) -> str:
return self.name
@wait_for_success(60, 1)
def start_service(self):
self.host.start_service(self.name)
@wait_for_success(60, 1)
def stop_service(self):
self.host.stop_service(self.name)

View File

@ -23,7 +23,7 @@ Events==0.4
flake8==4.0.1
idna==3.3
iniconfig==1.1.1
isort==5.10.1
isort==5.12.0
jmespath==0.10.0
jsonschema==4.5.1
lz4==3.1.3