mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-25 21:54:28 +08:00
mdbx-test: унификация PRNG и изменение опции командной строки на --prng-seed
.
This commit is contained in:
@@ -20,8 +20,8 @@ public:
|
||||
: testcase(config, pid) {}
|
||||
bool run() override;
|
||||
|
||||
static bool review_params(actor_params ¶ms) {
|
||||
if (!testcase::review_params(params))
|
||||
static bool review_params(actor_params ¶ms, unsigned space_id) {
|
||||
if (!testcase::review_params(params, space_id))
|
||||
return false;
|
||||
const bool ordered = !flipcoin_x3();
|
||||
log_notice("the '%s' key-generation mode is selected",
|
||||
@@ -45,7 +45,7 @@ bool testcase_append::run() {
|
||||
}
|
||||
|
||||
cursor_open(dbi);
|
||||
keyvalue_maker.setup(config.params, config.actor_id, 0 /* thread_number */);
|
||||
keyvalue_maker.setup(config.params, 0 /* thread_number */);
|
||||
/* LY: тест наполнения таблиц в append-режиме,
|
||||
* при котором записи добавляются строго в конец (в порядке сортировки) */
|
||||
const MDBX_put_flags_t flags =
|
||||
|
Reference in New Issue
Block a user