From c9c985ae5dc5bfa8b3bead7966d2e6b29954219a Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Mon, 24 Jun 2019 02:55:26 +0300 Subject: [PATCH] mdbx-test: more for `--ignore-dbfull` option. Change-Id: I92c284edd889455eefefec12d3315b6f5d37cdc5 --- test/hill.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/hill.cc b/test/hill.cc index 3f5d2201..6343d2ef 100644 --- a/test/hill.cc +++ b/test/hill.cc @@ -297,8 +297,11 @@ bool testcase_hill::run() { report(1); } - if (txn_guard) - txn_end(false); + if (txn_guard) { + err = breakable_restart(); + if (unlikely(err != MDBX_SUCCESS)) + log_notice("downhill: bailout at commit due '%s'", mdbx_strerror(err)); + } if (dbi) { if (config.params.drop_table && !mode_readonly()) {