mdbx-test: don't fail on key-space overflow.

Change-Id: I22a8cb359849c4c02cd393047cb7ea33974607fd
This commit is contained in:
Leonid Yuriev
2019-06-26 17:06:17 +03:00
parent fa3adb759a
commit aaf49bb816
3 changed files with 11 additions and 6 deletions

View File

@@ -132,8 +132,10 @@ bool testcase_ttl::run() {
failure_perror("mdbx_put(head)", err);
}
if (unlikely(!keyvalue_maker.increment(serial, 1)))
failure("uphill: unexpected key-space overflow");
if (unlikely(!keyvalue_maker.increment(serial, 1))) {
log_notice("ttl: unexpected key-space overflow");
goto bailout;
}
}
err = breakable_restart();
if (unlikely(err != MDBX_SUCCESS)) {