pgvector.git / summary / log / commit / refs
commit 24c8a2ff40f2f520d018592a6909b57c0c04fb10
Author: Andrew Kane <andrew@ankane.org>
Date: Mon Apr 29 20:54:30 2024 +0000
Fixed flaky tests [skip ci]
test/t/012_hnsw_vector_build_recall.pl | 2 +-
test/t/013_hnsw_vector_insert_recall.pl | 2 +-
test/t/028_hnsw_sparsevec_build_recall.pl | 2 +-
test/t/029_hnsw_sparsevec_insert_recall.pl | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/t/012_hnsw_vector_build_recall.pl b/test/t/012_hnsw_vector_build_recall.pl
index e629b721..8093e9eb 100644
--- a/test/t/012_hnsw_vector_build_recall.pl
+++ b/test/t/012_hnsw_vector_build_recall.pl
@@ -91,7 +91,7 @@ for my $i (0 .. $#operators)
));
# Test approximate results
- my $min = $operator eq "<#>" ? 0.98 : 0.99;
+ my $min = $operator eq "<#>" ? 0.97 : 0.99;
test_recall($min, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;");
diff --git a/test/t/013_hnsw_vector_insert_recall.pl b/test/t/013_hnsw_vector_insert_recall.pl
index ac2c336d..7b885360 100644
--- a/test/t/013_hnsw_vector_insert_recall.pl
+++ b/test/t/013_hnsw_vector_insert_recall.pl
@@ -100,7 +100,7 @@ for my $i (0 .. $#operators)
}
# Test approximate results
- my $min = $operator eq "<#>" ? 0.98 : 0.99;
+ my $min = $operator eq "<#>" ? 0.97 : 0.99;
test_recall($min, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;");
diff --git a/test/t/028_hnsw_sparsevec_build_recall.pl b/test/t/028_hnsw_sparsevec_build_recall.pl
index 052d9d8c..b9fcf3c8 100644
--- a/test/t/028_hnsw_sparsevec_build_recall.pl
+++ b/test/t/028_hnsw_sparsevec_build_recall.pl
@@ -91,7 +91,7 @@ for my $i (0 .. $#operators)
));
# Test approximate results
- my $min = $operator eq "<#>" ? 0.98 : 0.99;
+ my $min = $operator eq "<#>" ? 0.97 : 0.99;
test_recall($min, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;");
diff --git a/test/t/029_hnsw_sparsevec_insert_recall.pl b/test/t/029_hnsw_sparsevec_insert_recall.pl
index 18b248ad..ddcfd50b 100644
--- a/test/t/029_hnsw_sparsevec_insert_recall.pl
+++ b/test/t/029_hnsw_sparsevec_insert_recall.pl
@@ -100,7 +100,7 @@ for my $i (0 .. $#operators)
}
# Test approximate results
- my $min = $operator eq "<#>" ? 0.98 : 0.99;
+ my $min = $operator eq "<#>" ? 0.97 : 0.99;
test_recall($min, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;");
[parent: 6df583a6f6c1]