From 541a3e0636e3bb4f9ab4d31a5aec3826f2382467 Mon Sep 17 00:00:00 2001 From: Dmitriy Zayakin Date: Wed, 17 Apr 2024 11:03:47 +0300 Subject: [PATCH] [#208] Add await for search func Signed-off-by: Dmitriy Zayakin --- src/frostfs_testlib/steps/cli/object.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frostfs_testlib/steps/cli/object.py b/src/frostfs_testlib/steps/cli/object.py index 5fe6054..cd58ec3 100644 --- a/src/frostfs_testlib/steps/cli/object.py +++ b/src/frostfs_testlib/steps/cli/object.py @@ -13,6 +13,7 @@ from frostfs_testlib.resources.common import ASSETS_DIR from frostfs_testlib.shell import Shell from frostfs_testlib.storage.cluster import Cluster, ClusterNode from frostfs_testlib.storage.dataclasses.wallet import WalletInfo +from frostfs_testlib.testing import wait_for_success from frostfs_testlib.utils import json_utils from frostfs_testlib.utils.cli_utils import parse_cmd_table, parse_netmap_output @@ -695,6 +696,7 @@ def neo_go_query_height(shell: Shell, endpoint: str) -> dict: } +@wait_for_success() @reporter.step("Search object nodes") def get_object_nodes( cluster: Cluster,