From c39cb25c32612205de5e8edaeb5599cba20b5d0c Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 24 Apr 2024 22:26:08 -0700 Subject: [PATCH] Fixed flaky tests [skip ci] --- test/t/016_hnsw_vacuum_recall.pl | 2 +- test/t/030_hnsw_halfvec_vacuum_recall.pl | 2 +- test/t/031_hnsw_sparsevec_vacuum_recall.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/t/016_hnsw_vacuum_recall.pl b/test/t/016_hnsw_vacuum_recall.pl index 1b1bda6..57c937a 100644 --- a/test/t/016_hnsw_vacuum_recall.pl +++ b/test/t/016_hnsw_vacuum_recall.pl @@ -87,7 +87,7 @@ foreach (@queries) } test_recall(0.18, $limit, "before vacuum"); -test_recall(0.95, 100, "before vacuum"); +test_recall(0.93, 100, "before vacuum"); # TODO Test concurrent inserts with vacuum $node->safe_psql("postgres", "VACUUM tst;"); diff --git a/test/t/030_hnsw_halfvec_vacuum_recall.pl b/test/t/030_hnsw_halfvec_vacuum_recall.pl index db05cf1..9ac86da 100644 --- a/test/t/030_hnsw_halfvec_vacuum_recall.pl +++ b/test/t/030_hnsw_halfvec_vacuum_recall.pl @@ -87,7 +87,7 @@ foreach (@queries) } test_recall(0.18, $limit, "before vacuum"); -test_recall(0.95, 100, "before vacuum"); +test_recall(0.93, 100, "before vacuum"); # TODO Test concurrent inserts with vacuum $node->safe_psql("postgres", "VACUUM tst;"); diff --git a/test/t/031_hnsw_sparsevec_vacuum_recall.pl b/test/t/031_hnsw_sparsevec_vacuum_recall.pl index 7826f58..e74a6ec 100644 --- a/test/t/031_hnsw_sparsevec_vacuum_recall.pl +++ b/test/t/031_hnsw_sparsevec_vacuum_recall.pl @@ -87,7 +87,7 @@ foreach (@queries) } test_recall(0.18, $limit, "before vacuum"); -test_recall(0.95, 100, "before vacuum"); +test_recall(0.93, 100, "before vacuum"); # TODO Test concurrent inserts with vacuum $node->safe_psql("postgres", "VACUUM tst;");