forked from TrueCloudLab/frostfs-testcases
Remove wait_for_success for start/stop service methods
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
This commit is contained in:
parent
fc6f9ac162
commit
850c0e77ec
3 changed files with 2 additions and 4 deletions
|
@ -5,7 +5,7 @@ repos:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3.9
|
language_version: python3.9
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.10.1
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
name: isort (python)
|
name: isort (python)
|
||||||
|
|
|
@ -46,11 +46,9 @@ class NodeBase:
|
||||||
def label(self) -> str:
|
def label(self) -> str:
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
@wait_for_success(60, 1)
|
|
||||||
def start_service(self):
|
def start_service(self):
|
||||||
self.host.start_service(self.name)
|
self.host.start_service(self.name)
|
||||||
|
|
||||||
@wait_for_success(60, 1)
|
|
||||||
def stop_service(self):
|
def stop_service(self):
|
||||||
self.host.stop_service(self.name)
|
self.host.stop_service(self.name)
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ Events==0.4
|
||||||
flake8==4.0.1
|
flake8==4.0.1
|
||||||
idna==3.3
|
idna==3.3
|
||||||
iniconfig==1.1.1
|
iniconfig==1.1.1
|
||||||
isort==5.10.1
|
isort==5.12.0
|
||||||
jmespath==0.10.0
|
jmespath==0.10.0
|
||||||
jsonschema==4.5.1
|
jsonschema==4.5.1
|
||||||
lz4==3.1.3
|
lz4==3.1.3
|
||||||
|
|
Loading…
Reference in a new issue