From ce05acca56eea548cf4d80590b2a5ef7eda09915 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Wed, 1 Nov 2023 16:33:13 +0100 Subject: [PATCH] debug --- spec/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers.rb b/spec/helpers.rb index 017585fbe..5b183a082 100644 --- a/spec/helpers.rb +++ b/spec/helpers.rb @@ -334,7 +334,7 @@ def generate_ssl_certs(output_dir) def create_test_db trace "Creating the test DB" - log_and_run @logfile, pg_bin_path('psql'), '-p', @port.to_s, '-e', '-c', 'DROP DATABASE IF EXISTS test', 'postgres' + log_and_run @logfile, pg_bin_path('psql'), '-h', '127.0.0.1', '-p', @port.to_s, '-e', '-c', 'DROP DATABASE IF EXISTS test', 'postgres' log_and_run @logfile, pg_bin_path('createdb'), '-p', @port.to_s, '-e', 'test' end