Skip to content

Commit

Permalink
Don't fail crash test is cleanup cmd fails after successful test
Browse files Browse the repository at this point in the history
  • Loading branch information
anand1976 committed Jan 10, 2025
1 parent 44b741e commit e65ce9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/db_crashtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e65ce9b

Please sign in to comment.