We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ba22f commit 00a242aCopy full SHA for 00a242a
redis_benchmarks_specification/__runner__/runner.py
@@ -2671,6 +2671,14 @@ def delete_temporary_files(
2671
2672
if not success:
2673
logging.error(f"Memtier benchmark failed: {stderr}")
2674
+ # Clean up database after failure (timeout or error)
2675
+ if args.flushall_on_every_test_end or args.flushall_on_every_test_start:
2676
+ logging.warning("Benchmark failed - cleaning up database with FLUSHALL")
2677
+ try:
2678
+ for r in redis_conns:
2679
+ r.flushall()
2680
+ except Exception as e:
2681
+ logging.error(f"FLUSHALL failed after benchmark failure: {e}")
2682
# Continue with the test but log the failure
2683
client_container_stdout = f"ERROR: {stderr}"
2684
0 commit comments