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

@@ -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 {