From ffa2b016453e3e7c0504fb37ccb60f0351494a89 Mon Sep 17 00:00:00 2001 From: Daniel Shelepanov Date: Tue, 10 Jan 2023 10:45:01 +0300 Subject: [PATCH] [PBCKP-278] test fix --- t/002_cfs_compatibility.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/t/002_cfs_compatibility.pl b/t/002_cfs_compatibility.pl index 31e31be..1772f3e 100644 --- a/t/002_cfs_compatibility.pl +++ b/t/002_cfs_compatibility.pl @@ -65,6 +65,7 @@ BEGIN shared_preload_libraries = 'ptrack' ptrack.map_size = 16 wal_level = 'replica' + autovacuum = 'off' }); $node->start; @@ -119,9 +120,9 @@ BEGIN # select the pagecount sums and compare them (should be equal) my $pagecount_sum_cfs = $node->safe_psql('postgres', - "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$cfs_relpath%';"); + "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$cfs_relpath';"); my $pagecount_sum_no_cfs = $node->safe_psql('postgres', - "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$no_cfs_relpath%';"); + "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$no_cfs_relpath';"); is($pagecount_sum_cfs, $pagecount_sum_no_cfs, "pagecount sums don't match"); @@ -137,9 +138,9 @@ BEGIN # select the pagecount sums and compare them (again, they should be equal) $pagecount_sum_cfs = $node->safe_psql('postgres', - "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$cfs_relpath%';"); + "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$cfs_relpath';"); $pagecount_sum_no_cfs = $node->safe_psql('postgres', - "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$no_cfs_relpath%';"); + "select sum(pagecount) from ptrack_get_pagemapset('$init_lsn'::pg_lsn) where path like '%$no_cfs_relpath';"); is($pagecount_sum_cfs, $pagecount_sum_no_cfs, "pagecount sums don't match"); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy