From fb87b6da917f64576f72d07d51a976a20933ae07 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 28 Oct 2024 13:55:26 -0700 Subject: [PATCH] Fixed test --- test/t/043_hnsw_iterative_scan.pl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/t/043_hnsw_iterative_scan.pl b/test/t/043_hnsw_iterative_scan.pl index fe0f671..e75c697 100644 --- a/test/t/043_hnsw_iterative_scan.pl +++ b/test/t/043_hnsw_iterative_scan.pl @@ -56,13 +56,4 @@ foreach ((30000, 50000, 70000)) cmp_ok($avg, '<', $expected + 2); } -my ($ret, $stdout, $stderr) = $node->psql("postgres", qq( - SET enable_seqscan = off; - SET hnsw.iterative_scan = relaxed_order; - SET client_min_messages = debug1; - SET work_mem = '1MB'; - SELECT COUNT(*) FROM (SELECT v FROM tst WHERE i % 10000 = 0 ORDER BY v <-> (SELECT v FROM tst LIMIT 1) LIMIT 11) t; -)); -like($stderr, qr/hnsw index scan reached memory limit after \d+ tuples/); - done_testing();