Skip to content

Commit b7076c1

Browse files
committed
Fix extension control path tests
Change expected extension to be installed from amcheck to plpgsql since not all build farm animals has the contrib module installed. Author: Matheus Alcantara <mths.dev@pm.me> Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/E7C7BFFB-8857-48D4-A71F-88B359FADCFD@justatheory.com
1 parent 4792932 commit b7076c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/modules/test_extensions/t/001_extension_control_path.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
6464
# Ensure that extensions installed on $system is still visible when using with
6565
# custom extension control path.
6666
my $ret3 = $node->safe_psql('postgres',
67-
"select count(*) > 0 as ok from pg_available_extensions where name = 'amcheck'"
67+
"select count(*) > 0 as ok from pg_available_extensions where name = 'plpgsql'"
6868
);
6969
is($ret3, "t",
7070
"\$system extension is installed correctly on pg_available_extensions");
7171

7272

7373
my $ret4 = $node->safe_psql('postgres',
74-
"set extension_control_path = ''; select count(*) > 0 as ok from pg_available_extensions where name = 'amcheck'"
74+
"set extension_control_path = ''; select count(*) > 0 as ok from pg_available_extensions where name = 'plpgsql'"
7575
);
7676
is($ret4, "t",
7777
"\$system extension is installed correctly on pg_available_extensions with empty extension_control_path"

0 commit comments

Comments
 (0)