Allow sqlite_encryption_migrate test to fail.

This commit is contained in:
levlam 2020-11-21 19:43:48 +03:00
parent a5514d3570
commit 375c638936

View File

@ -216,11 +216,15 @@ TEST(DB, sqlite_encryption_migrate) {
{
auto db = SqliteDb::open_with_key(path, cucumber).move_as_ok();
auto kv = SqliteKeyValue();
kv.init_with_connection(db.clone(), "kv").ensure();
auto status = kv.init_with_connection(db.clone(), "kv");
if (status.is_error()) {
LOG(ERROR) << status;
} else {
CHECK(kv.get("hello") == "world");
CHECK(db.user_version().ok() == 123);
}
}
}
using SeqNo = uint64;
struct DbQuery {