integration test tweak

This commit is contained in:
Jussi Saurio
2025-08-14 09:54:53 +03:00
parent f94fa2bbbe
commit 0c6d548402

View File

@@ -110,6 +110,9 @@ fn test_pragma_page_sizes_with_writes_persists() {
.unwrap();
conn.execute("INSERT INTO test (id, value) VALUES (1, 'test data')")
.unwrap();
// Insert a big blob just as a small smoke test that our btree handles this well with different page sizes.
conn.execute("INSERT INTO test (id, value) VALUES (2, randomblob(1024*1024))")
.unwrap();
let mut page_size = conn.pragma_query("page_size").unwrap();
let mut page_size = page_size.pop().unwrap();
let page_size = page_size.pop().unwrap();