From 0c6d548402296074143206d4e108b1bbc98ea8e0 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Thu, 14 Aug 2025 09:54:53 +0300 Subject: [PATCH] integration test tweak --- tests/integration/pragma.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/pragma.rs b/tests/integration/pragma.rs index 533e06c22..cb22bb2cd 100644 --- a/tests/integration/pragma.rs +++ b/tests/integration/pragma.rs @@ -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();