Skip to content

Commit c6be1c5

Browse files
committed
Fixed test
1 parent 9b3d1a3 commit c6be1c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/t/014_hnsw_inserts.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ sub idx_scan
6565
SET hnsw.ef_search = 1000;
6666
SELECT COUNT(*) FROM (SELECT v FROM tst ORDER BY v <-> (SELECT v FROM tst LIMIT 1)) t;
6767
));
68-
is($count, 1000);
68+
# Elements may lose all incoming connections with the HNSW algorithm
69+
cmp_ok($count, ">=", 997);
6970

7071
is(idx_scan(), 21);
7172

0 commit comments

Comments
 (0)