From f4d1f0b0fc971730aff633711f30dfe0d2193283 Mon Sep 17 00:00:00 2001 From: "anatoly@nspcc.ru" Date: Sun, 29 Nov 2020 06:54:18 +0300 Subject: [PATCH] fix --- robot/resources/lib/neofs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot/resources/lib/neofs.py b/robot/resources/lib/neofs.py index 6626267..5f0baa4 100644 --- a/robot/resources/lib/neofs.py +++ b/robot/resources/lib/neofs.py @@ -1037,7 +1037,7 @@ def _search_object(node:str, private_key: str, cid:str, oid: str): if re.search(r'local node is outside of object placement', e.output): logger.error("Server is not presented in container.") - if ( re.search(r'timed out after 30 seconds', e.output) or re.search(r'no route to host', e.output) ): + elif ( re.search(r'timed out after 30 seconds', e.output) or re.search(r'no route to host', e.output) ): logger.warn("Node is unavailable") else: