forked from TrueCloudLab/frostfs-testcases
[#286] Return int typinc in verify func
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
parent
3806185c74
commit
fe23edbf12
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class TestFailoverServer(ClusterTestBase):
|
||||||
@reporter.step("Verify objects")
|
@reporter.step("Verify objects")
|
||||||
def verify_objects(self, nodes: list[StorageNode], storage_objects: list[StorageObjectInfo]) -> None:
|
def verify_objects(self, nodes: list[StorageNode], storage_objects: list[StorageObjectInfo]) -> None:
|
||||||
workers_count = os.environ.get("PARALLEL_CUSTOM_LIMIT", 50)
|
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))
|
parallel(self._verify_object, storage_objects * len(nodes), node=itertools.cycle(nodes))
|
||||||
|
|
||||||
@allure.title("Full shutdown node")
|
@allure.title("Full shutdown node")
|
||||||
|
|
Loading…
Reference in a new issue