From 17c379caa1092e7f8b82f14c98c7bad066dff61d Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 13 Feb 2024 21:52:03 -0800 Subject: [PATCH] Improved test [skip ci] --- test/t/020_hnsw_filtering.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/t/020_hnsw_filtering.pl b/test/t/020_hnsw_filtering.pl index d6f95aa..0102b8f 100644 --- a/test/t/020_hnsw_filtering.pl +++ b/test/t/020_hnsw_filtering.pl @@ -97,21 +97,18 @@ test_recall(0.99, '<->'); # Test no conditions my $explain = $node->safe_psql("postgres", qq( - SET enable_seqscan = off; EXPLAIN ANALYZE SELECT i FROM tst ORDER BY v <-> '$queries[0]' LIMIT $limit; )); like($explain, qr/Index Scan/); # Test multiple conditions $explain = $node->safe_psql("postgres", qq( - SET enable_seqscan = off; EXPLAIN ANALYZE SELECT i FROM tst WHERE c = '$cs[0]' AND c2 = '$cs[0]' ORDER BY v <-> '$queries[0]' LIMIT $limit; )); like($explain, qr/Index Cond: \(\(c = \S+\) AND \(c2 = \S+\)\)/); # Test no order $explain = $node->safe_psql("postgres", qq( - SET enable_seqscan = off; EXPLAIN ANALYZE SELECT i FROM tst WHERE c = '$cs[0]' LIMIT $limit; )); like($explain, qr/Seq Scan/);