mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-17 17:32:24 +08:00
mdbx-test: don't fail on key-space overflow.
Change-Id: I22a8cb359849c4c02cd393047cb7ea33974607fd
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user