Skip to content

Commit

Permalink
test(daemon): fix inte test using 127.0.0.1 instead of 0.0.0.0 to fix…
Browse files Browse the repository at this point in the history
… 10049 error on Windows
  • Loading branch information
ivangabriele committed Sep 8, 2024
1 parent 407c532 commit a2dbe5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ mod tests {
tokio::spawn(start_server());
wait_for_port(7878).await;

let url = Uri::from_static("ws://0.0.0.0:7878");
let url = Uri::from_static("ws://127.0.0.1:7878");
let (ws_stream, _) = connect_async(url).await.expect("Failed to connect");
let (mut write, mut read) = ws_stream.split();

Expand Down

0 comments on commit a2dbe5c

Please sign in to comment.