Skip to content

Commit

Permalink
shim the missing replica in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Oct 27, 2023
1 parent e424a73 commit cdedf26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nix/tools/withTools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ let
export PGTZ
export PGOPTIONS
# FIXME this should point to a read replica
export PGHOSTREP="$PGHOST"
HBA_FILE="$tmpdir/pg_hba.conf"
echo "local $PGDATABASE some_protected_user password" > "$HBA_FILE"
echo "local $PGDATABASE all trust" >> "$HBA_FILE"
Expand Down

0 comments on commit cdedf26

Please sign in to comment.