1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 02:21:10 +00:00

dont use localhost for tests

This commit is contained in:
Felix Ableitner 2024-02-09 15:06:48 +01:00
parent 773e19b38b
commit daa5412271

View file

@ -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,