mdbx-test: rework cycling for ttl & nested testcases.

Change-Id: If2f83187bd7998c2ddc7e2487a17d13648241b9c
This commit is contained in:
Leonid Yuriev
2020-05-23 01:29:58 +03:00
parent a85ae436eb
commit 4dc7f0cb4b
3 changed files with 98 additions and 85 deletions

View File

@@ -236,7 +236,6 @@ 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 {
@@ -299,6 +298,9 @@ class testcase_nested : public testcase {
using FIFO = std::deque<std::pair<uint64_t, unsigned>>;
uint64_t serial{0};
unsigned clear_wholetable_passed{0};
unsigned clear_stepbystep_passed{0};
unsigned dbfull_passed{0};
FIFO fifo;
std::stack<std::tuple<scoped_txn_guard, uint64_t, FIFO, SET>> stack;