aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-01-03 13:16:55 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-01-03 13:16:55 +0100
commit8ce5aef2e6337a5c1f6693c486c28310c2b35dfc (patch)
treea48ada0170a4dfb6c18ab8d40df3122140f5bbfc
parent283a95da923605c1cc148155db2d865d0801b419 (diff)
downloadpostgresql-8ce5aef2e6337a5c1f6693c486c28310c2b35dfc.tar.gz
postgresql-8ce5aef2e6337a5c1f6693c486c28310c2b35dfc.zip
Make Perl warnings fatal in newly added TAP tests
New TAP tests added by commits 9a17be1e and 4710b67d missed to convert warnings to FATAL. This commit fixes that. Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
-rw-r--r--contrib/pg_stat_statements/t/010_restart.pl2
-rw-r--r--src/bin/pg_upgrade/t/004_subscription.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_stat_statements/t/010_restart.pl b/contrib/pg_stat_statements/t/010_restart.pl
index 83a2bf0db82..426552c8d48 100644
--- a/contrib/pg_stat_statements/t/010_restart.pl
+++ b/contrib/pg_stat_statements/t/010_restart.pl
@@ -4,7 +4,7 @@
# across restarts.
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/bin/pg_upgrade/t/004_subscription.pl b/src/bin/pg_upgrade/t/004_subscription.pl
index d08ffffe108..4f7f6d9c04a 100644
--- a/src/bin/pg_upgrade/t/004_subscription.pl
+++ b/src/bin/pg_upgrade/t/004_subscription.pl
@@ -2,7 +2,7 @@
# Test for pg_upgrade of logical subscription
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Find qw(find);