summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgvit <[email protected]>2023-02-09 01:37:00 +0300
committergvit <[email protected]>2023-02-09 01:37:00 +0300
commit5e7b0443dda010fdf379a680c01fe8d5f1ca3a89 (patch)
treeb53fdbba6549a7005f4101dbf293efd8b25e1fc2
parent10cb6c3a57347bb0119750e987fba84c0d425eba (diff)
trying to fix test
-rw-r--r--ydb/tests/functional/rename/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ydb/tests/functional/rename/common.py b/ydb/tests/functional/rename/common.py
index 13359e31908..b0085107178 100644
--- a/ydb/tests/functional/rename/common.py
+++ b/ydb/tests/functional/rename/common.py
@@ -23,6 +23,9 @@ async def async_retry_operation(callee, retry_settings=None, *args, **kwargs):
else:
try:
return await next_opt.result
+ except ydb.GenericError as e:
+ if "Cannot find table" in e.message:
+ next_opt.set_exception(ydb.Unavailable(e.message))
except Exception as e:
next_opt.set_exception(e)