Fixed flaky tests

This commit is contained in:
Andrew Kane
2024-04-26 13:20:27 -07:00
parent 48e68e5e42
commit c9fb66d54d
4 changed files with 4 additions and 4 deletions

View File

@@ -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;");

View File

@@ -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;");

View File

@@ -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;");

View File

@@ -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;");