diff options
author | gvit <gvit@ydb.tech> | 2022-07-07 23:29:50 +0300 |
---|---|---|
committer | gvit <gvit@ydb.tech> | 2022-07-07 23:29:50 +0300 |
commit | d783e97de9fbfbbcec1ff6ef52c8c2515d9b3576 (patch) | |
tree | e1ca0464c5057a0a06ef01d00309c70969a35b13 | |
parent | ab94a1757236fc714e4bc730928e83e60afa9506 (diff) | |
download | ydb-d783e97de9fbfbbcec1ff6ef52c8c2515d9b3576.tar.gz |
support session shutdown in ydb_serializable tool
-rw-r--r-- | ydb/tests/tools/ydb_serializable/lib/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/tests/tools/ydb_serializable/lib/__init__.py b/ydb/tests/tools/ydb_serializable/lib/__init__.py index 0909a02d07..1ffc67c796 100644 --- a/ydb/tests/tools/ydb_serializable/lib/__init__.py +++ b/ydb/tests/tools/ydb_serializable/lib/__init__.py @@ -287,7 +287,7 @@ class DatabaseChecker(object): def __exit__(self, exc_type=None, exc_val=None, exc_tb=None): assert self._session is not None - if exc_type is not None: + if exc_type is not None or self._session.closing(): # self._session.delete() self._session = None else: |