From daa541227151cc68367be6fcdc7e6efa80fbae87 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 9 Feb 2024 15:06:48 +0100 Subject: [PATCH] dont use localhost for tests --- tests/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.rs b/tests/common.rs index 2c546b6..7611504 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -106,7 +106,7 @@ impl IbisInstance { async fn start(db_path: String, port: i32, username: &str) -> Self { let database_url = format!("postgresql://ibis:password@/ibis?host={db_path}"); - let hostname = format!("localhost:{port}"); + let hostname = format!("127.0.0.1:{port}"); let bind = format!("127.0.0.1:{port}").parse().unwrap(); let config = IbisConfig { bind,