From c13f713f29cf9915722c4591e4ef87b93f4fc97c Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 11 Aug 2023 09:36:29 -0700 Subject: [PATCH] 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 67379e1..53ba709 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();