mdbx-test: fix iteration count.

Change-Id: Iaf19af417e54ee4ad968722c94d377dab29be149
This commit is contained in:
Leonid Yuriev 2019-06-25 15:48:03 +03:00
parent 41d8f65e1e
commit 834f6d0784
3 changed files with 4 additions and 2 deletions

View File

@ -298,7 +298,7 @@ bool testcase_hill::run() {
} }
if (txn_guard) { if (txn_guard) {
err = breakable_restart(); err = breakable_commit();
if (unlikely(err != MDBX_SUCCESS)) if (unlikely(err != MDBX_SUCCESS))
log_notice("downhill: bailout at commit due '%s'", mdbx_strerror(err)); log_notice("downhill: bailout at commit due '%s'", mdbx_strerror(err));
} }

View File

@ -27,6 +27,8 @@ void actor_params::set_defaults(const std::string &tmpdir) {
loglevel = loglevel =
#ifdef NDEBUG #ifdef NDEBUG
logging::info; logging::info;
#elif defined(_WIN32) || defined(_WIN64)
logging::verbose;
#else #else
logging::trace; logging::trace;
#endif #endif

View File

@ -576,7 +576,7 @@ bool test_execute(const actor_config &config_const) {
} else { } else {
if (config.params.nrepeat == 1) if (config.params.nrepeat == 1)
log_info("test successed"); log_info("test successed");
else if (config.params.nrepeat == 1) else if (config.params.nrepeat)
log_info("test successed (iteration %zi of %zi)", iter, log_info("test successed (iteration %zi of %zi)", iter,
size_t(config.params.nrepeat)); size_t(config.params.nrepeat));
else else