Skip to content

Commit

Permalink
Unblock local run of ObservabilitySpec.hs
Browse files Browse the repository at this point in the history
In CI I think the postgres user gets created somehow. Locally it doesn't
  • Loading branch information
omnibs committed May 29, 2024
1 parent 77857a8 commit 6faeab6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nri-postgresql/setup-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ psql -c "CREATE TABLE test_table2 (enum_array_col test_enum[] NOT NULL)" || true

## Setup for test/Test.hs
psql -c "CREATE TABLE constraints_table (user_id int PRIMARY KEY)" || true

## Setup for test/ObservabilitySpec.hs
createuser -s postgres
psql -c "GRANT ALL PRIVILEGES ON DATABASE testdb TO postgres;" || true

0 comments on commit 6faeab6

Please sign in to comment.