mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed flaky tests
This commit is contained in:
@@ -91,7 +91,7 @@ for my $i (0 .. $#operators)
|
||||
));
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.99;
|
||||
my $min = $operator eq "<#>" ? 0.98 : 0.99;
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
@@ -100,7 +100,7 @@ for my $i (0 .. $#operators)
|
||||
}
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.99;
|
||||
my $min = $operator eq "<#>" ? 0.98 : 0.99;
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
@@ -91,7 +91,7 @@ for my $i (0 .. $#operators)
|
||||
));
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.99;
|
||||
my $min = $operator eq "<#>" ? 0.98 : 0.99;
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
@@ -100,7 +100,7 @@ for my $i (0 .. $#operators)
|
||||
}
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.99;
|
||||
my $min = $operator eq "<#>" ? 0.98 : 0.99;
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
Reference in New Issue
Block a user