mdbx-test: avoid extra 'jitter' testcase loops.

Change-Id: I50a3a5a03c0baebee81a90155089eeb44448ff4e
This commit is contained in:
Leonid Yuriev 2018-09-16 22:01:56 +03:00
parent 49a3e04d92
commit 5cc4bec7b7

View File

@ -58,7 +58,11 @@ bool testcase_jitter::run() {
jitter_delay();
db_close();
report(1);
/* just 'align' nops with other tests with batching */
const auto batching =
std::max(config.params.batch_read, config.params.batch_write);
report(std::max(1u, batching / 2));
}
return true;
}