From 850c0e77ec2106893415a0cd7c835a40cbdfb220 Mon Sep 17 00:00:00 2001
From: Vladislav Karakozov <v.karakozov@yadro.com>
Date: Mon, 6 Feb 2023 19:05:03 +0300
Subject: [PATCH] Remove wait_for_success for start/stop service methods

Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
---
 .pre-commit-config.yaml         | 2 +-
 pytest_tests/helpers/cluster.py | 2 --
 requirements.txt                | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7f89c728..4da00b48 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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)
diff --git a/pytest_tests/helpers/cluster.py b/pytest_tests/helpers/cluster.py
index 33b95d66..e972c117 100644
--- a/pytest_tests/helpers/cluster.py
+++ b/pytest_tests/helpers/cluster.py
@@ -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)
 
diff --git a/requirements.txt b/requirements.txt
index 0df4c710..fb58f395 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -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