mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:54:14 +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) {
|
||||
err = breakable_restart();
|
||||
err = breakable_commit();
|
||||
if (unlikely(err != MDBX_SUCCESS))
|
||||
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 =
|
||||
#ifdef NDEBUG
|
||||
logging::info;
|
||||
#elif defined(_WIN32) || defined(_WIN64)
|
||||
logging::verbose;
|
||||
#else
|
||||
logging::trace;
|
||||
#endif
|
||||
|
@ -576,7 +576,7 @@ bool test_execute(const actor_config &config_const) {
|
||||
} else {
|
||||
if (config.params.nrepeat == 1)
|
||||
log_info("test successed");
|
||||
else if (config.params.nrepeat == 1)
|
||||
else if (config.params.nrepeat)
|
||||
log_info("test successed (iteration %zi of %zi)", iter,
|
||||
size_t(config.params.nrepeat));
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user