Hello!

On Windows this test fails with error:
# connection error: 'psql: error: connection to server at "127.0.0.1", port 
xxxxx failed:
# FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "buildfarm", database 
"postgres", no encryption'

May be disable this test for windows like in 001_password.pl and 
002_saslprep.pl?


Best wishes,
--
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
commit e4491b91729b307d29ce0205b455936b3a538373
Author: Anton A. Melnikov <a.melni...@postgrespro.ru>
Date:   Fri Nov 25 07:40:11 2022 +0300

    Skip test 003_peer.pl for windows like 001_password.pl and 002_saslprep.pl

diff --git a/src/test/authentication/t/003_peer.pl b/src/test/authentication/t/003_peer.pl
index ce8408a4f8c..7454bf4a598 100644
--- a/src/test/authentication/t/003_peer.pl
+++ b/src/test/authentication/t/003_peer.pl
@@ -9,6 +9,11 @@ use warnings;
 use PostgreSQL::Test::Cluster;
 use PostgreSQL::Test::Utils;
 use Test::More;
+if (!$use_unix_sockets)
+{
+	plan skip_all =>
+	  "authentication tests cannot run without Unix-domain sockets";
+}
 
 # Delete pg_hba.conf from the given node, add a new entry to it
 # and then execute a reload to refresh it.

Reply via email to