mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 23:34:13 +08:00
mdbx-test: fix iteration count.
Change-Id: Iaf19af417e54ee4ad968722c94d377dab29be149
This commit is contained in:
parent
41d8f65e1e
commit
834f6d0784
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user