mdbx-test: auto-reducing nops for nested and ttl testcases.

Change-Id: Ie060c580e87becbc033611e00532449522f3adbe
This commit is contained in:
Leonid Yuriev
2020-05-19 14:18:26 +03:00
parent 51a016245a
commit 2e7e1079c4
4 changed files with 47 additions and 4 deletions

View File

@@ -398,8 +398,7 @@ bool testcase::should_continue(bool check_timeout_only) const {
result = false;
}
if (!check_timeout_only && config.params.test_nops &&
nops_completed >= config.params.test_nops)
if (!check_timeout_only && nops_target && nops_completed >= nops_target)
result = false;
if (result)