Skip to content

Commit 44c6191

Browse files
committed
ignore cleanup throws
1 parent 916c6b4 commit 44c6191

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

release_tester/arangodb/starter/manager.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
import tools.loghelper as lh
4141
from tools.killall import get_process_tree
4242

43-
from reporting.reporting_utils import attach_table, step, attach_http_request_to_report, attach_http_response_to_report
4443
from tools.utils import ARANGOSEARCH_COLUMNS_CACHE_LIMIT
44+
from reporting.reporting_utils import attach_table, step, attach_http_request_to_report, attach_http_response_to_report
4545

4646
IS_WINDOWS = sys.platform == "win32"
4747

@@ -331,7 +331,11 @@ def have_this_instance(self, instance):
331331
def cleanup_hotbackup_in_instance(self):
332332
"""remove hotbackup from the database directory"""
333333
for instance in self.all_instances:
334-
instance.clean_hotbackup()
334+
# pylint: disable=broad-exception-caught
335+
try:
336+
instance.clean_hotbackup()
337+
except Exception as ex:
338+
print(f"ignoring error during cleaning hot backup: {ex}")
335339

336340
def get_instance_essentials(self):
337341
"""get the essentials of all instances controlled by this starter"""

0 commit comments

Comments
 (0)