pgvector.git / summary / log / commit / refs

commit    c13f713f29cf9915722c4591e4ef87b93f4fc97c
Author:   Andrew Kane <andrew@ankane.org>
Date:     Fri Aug 11 16:36:29 2023 +0000

    Improved test [skip ci]


test/t/011_hnsw_vacuum.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/t/011_hnsw_vacuum.pl b/test/t/011_hnsw_vacuum.pl index 67379e1b..53ba7092 100644 --- a/test/t/011_hnsw_vacuum.pl +++ b/test/t/011_hnsw_vacuum.pl @@ -37,7 +37,8 @@ $node->safe_psql("postgres", ); # Check size +# May increase some due to different levels my $new_size = $node->safe_psql("postgres", "SELECT pg_total_relation_size('tst_v_idx');"); -cmp_ok($new_size, "<=", $size * 1.01, "size does not increase too much"); +cmp_ok($new_size, "<=", $size * 1.02, "size does not increase too much"); done_testing(); [parent: 6d1543500336]