From 14149b19f5f0790e7cd8b8b43466088656189486 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 30 Jun 2026 13:34:11 -0700 Subject: [PATCH] Added SELECTs to HNSW vacuuming test for good measure [skip ci] --- test/t/047_hnsw_vacuum_insert.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/t/047_hnsw_vacuum_insert.pl b/test/t/047_hnsw_vacuum_insert.pl index 42fe476..a67b966 100644 --- a/test/t/047_hnsw_vacuum_insert.pl +++ b/test/t/047_hnsw_vacuum_insert.pl @@ -26,10 +26,11 @@ $node->pgbench( 0, [qr{actually processed}], [qr{^$}], - "concurrent INSERTs, DELETEs, and VACUUM", + "concurrent INSERTs, DELETEs, SELECTs, and VACUUM", { "047_hnsw_vacuum_insert_insert\@500" => "INSERT INTO tst (v) VALUES (ARRAY[$array_sql]);", "047_hnsw_vacuum_insert_delete\@500" => "DELETE FROM tst WHERE i = (SELECT i FROM tst LIMIT 1);", + "047_hnsw_vacuum_insert_select\@20" => "SELECT i FROM tst ORDER BY v <-> '[0,0,0]' LIMIT 10;", "047_hnsw_vacuum_insert_vacuum\@1" => "VACUUM tst;" } );