Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
ivangabriele committed Sep 8, 2024

Verified

This commit was signed with the committer’s verified signature.
ivangabriele Ivan Gabriele
1 parent e0c5172 commit f0479bd
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
@@ -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();

0 comments on commit f0479bd

Please sign in to comment.