mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-19 06:02:21 +08:00
mdbx-test: auto-reducing nops for nested and ttl testcases.
Change-Id: Ie060c580e87becbc033611e00532449522f3adbe
This commit is contained in:
@@ -148,6 +148,7 @@ protected:
|
||||
bool signalled{false};
|
||||
bool need_speculum_assign{false};
|
||||
|
||||
unsigned nops_target{config.params.test_nops};
|
||||
size_t nops_completed{0};
|
||||
chrono::time start_timestamp;
|
||||
keygen::buffer key;
|
||||
@@ -229,10 +230,13 @@ public:
|
||||
};
|
||||
|
||||
class testcase_ttl : public testcase {
|
||||
using inherited = testcase;
|
||||
|
||||
public:
|
||||
testcase_ttl(const actor_config &config, const mdbx_pid_t pid)
|
||||
: testcase(config, pid) {}
|
||||
bool run() override;
|
||||
bool setup() override;
|
||||
};
|
||||
|
||||
class testcase_hill : public testcase {
|
||||
|
||||
Reference in New Issue
Block a user