Skip to content

Commit

Permalink
[CiPostgresRunner] Don't copy pg_hba.conf
Browse files Browse the repository at this point in the history
This seems to cause issues, and postgres on Travis is setup to use
`trust` instead of `peer`.  Since the tests generally work with the
default, continue using that instead of using what is brought over from
a `.restore`.
  • Loading branch information
NickLaMuro committed May 17, 2021
1 parent 7612d81 commit bcb52d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/ci_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ def self.start
# Make sure we have our postgresql.conf in the right spot on Travis
system("sudo cp #{PGDATADIR}/postgresql.conf #{PGCONFIGDIR}/postgresql.conf")

# Move our configured `pg_hba.conf` to the config dir as well
system("sudo cp #{PGDATADIR}/pg_hba.conf #{PGCONFIGDIR}/pg_hba.conf")

# Make sure directly in the postgresql.conf, the data_directory is set
# (requirement for pg_wrapper I think...)
system("sudo sed -i -e \"\\$adata_directory = '#{PGDATADIR}'\" #{PGCONFIGDIR}/postgresql.conf")
Expand Down

0 comments on commit bcb52d7

Please sign in to comment.