mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 01:14:13 +08:00
mdbx-test: avoid extra 'jitter' testcase loops.
Change-Id: I50a3a5a03c0baebee81a90155089eeb44448ff4e
This commit is contained in:
parent
49a3e04d92
commit
5cc4bec7b7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user