From fe23edbf122c9d6cde7b3c1132c8c1719ed5c3bf Mon Sep 17 00:00:00 2001 From: Dmitriy Zayakin Date: Fri, 9 Aug 2024 09:54:11 +0300 Subject: [PATCH] [#286] Return int typinc in verify func Signed-off-by: Dmitriy Zayakin --- pytest_tests/testsuites/failovers/test_failover_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/failovers/test_failover_server.py b/pytest_tests/testsuites/failovers/test_failover_server.py index bb5f997..47a95de 100644 --- a/pytest_tests/testsuites/failovers/test_failover_server.py +++ b/pytest_tests/testsuites/failovers/test_failover_server.py @@ -123,7 +123,7 @@ class TestFailoverServer(ClusterTestBase): @reporter.step("Verify objects") def verify_objects(self, nodes: list[StorageNode], storage_objects: list[StorageObjectInfo]) -> None: workers_count = os.environ.get("PARALLEL_CUSTOM_LIMIT", 50) - with parallel_workers_limit(workers_count): + with parallel_workers_limit(int(workers_count)): parallel(self._verify_object, storage_objects * len(nodes), node=itertools.cycle(nodes)) @allure.title("Full shutdown node")