Skip to content

Commit

Permalink
Postgres db url must specify ipv4 localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-iara authored and jkilpatr committed Aug 10, 2023
1 parent b57e3bf commit 635c032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/src/setup_utils/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn start_postgres() {
const POSTGRES_BIN: &str = "/usr/lib/postgresql/15/bin/postgres";
const INITDB_BIN: &str = "/usr/lib/postgresql/15/bin/initdb";
// for this test script
const DB_URL_LOCAL: &str = "postgres://postgres@localhost/test";
const DB_URL_LOCAL: &str = "postgres://postgres@127.0.0.1/test";
// for the rita exit instances
const POSTGRES_DATABASE_LOCATION: &str = "/var/lib/postgresql/data";
let migration_directory = Path::new("/althea_rs/exit_db/migrations/");
Expand Down

0 comments on commit 635c032

Please sign in to comment.