From fc5ff27e93fa9fefcf8d3f968ee3e3757295e814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 17 Apr 2024 10:38:48 -1000 Subject: [PATCH] DELETE ME Postgres seems to be listening on the expected port, but serverspec cannot connect to it? Attempt to do some connections to see if it is a serverspec bug or an issue with the module. --- spec/acceptance/utf8_encoding_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/utf8_encoding_spec.rb b/spec/acceptance/utf8_encoding_spec.rb index 25d868b158..a8cc1f0858 100644 --- a/spec/acceptance/utf8_encoding_spec.rb +++ b/spec/acceptance/utf8_encoding_spec.rb @@ -18,14 +18,16 @@ class { 'postgresql::server': } export_locales('en_NG.UTF8') idempotent_apply(pp, debug: true) puts '-------------------------------' - pp os - puts '-------------------------------' puts LitmusHelper.instance.run_shell('ss -lntp').stdout puts '-------------------------------' puts LitmusHelper.instance.run_shell('journalctl -u postgresql').stdout puts '-------------------------------' puts LitmusHelper.instance.run_shell('systemctl status postgresql*').stdout puts '-------------------------------' + puts LitmusHelper.instance.run_shell("su postgres -c 'psql -c \\\\l'").stdout + puts '-------------------------------' + puts LitmusHelper.instance.run_shell('true &>/dev/null