From e65ce9bfac49be66cebf424c929fe6257b27f23f Mon Sep 17 00:00:00 2001 From: anand76 Date: Thu, 9 Jan 2025 17:24:30 -0800 Subject: [PATCH] Don't fail crash test is cleanup cmd fails after successful test --- tools/db_crashtest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index ef40dc302bc..a62da1459b0 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -1156,8 +1156,7 @@ def cleanup_after_success(dbname): print("Running DB cleanup command - %s\n" % cleanup_cmd) ret = os.system(cleanup_cmd) if ret != 0: - print("TEST FAILED. DB cleanup returned error %d\n" % ret) - sys.exit(1) + print("WARNING: DB cleanup returned error %d\n" % ret) # This script runs and kills db_stress multiple times. It checks consistency