Fix bind address in process-termination-blocking-io test

This commit is contained in:
Mohsen Zohrevandi 2020-05-06 23:41:38 -07:00
parent 2e749a5ecd
commit 2b3adc9b94

View file

@ -9,7 +9,7 @@
fn main() {
let (tx, rx) = mpsc::channel();
thread::spawn(move || {
let listen = TcpListener::bind("0:0").unwrap();
let listen = TcpListener::bind("0.0.0.0:0").unwrap();
tx.send(()).unwrap();
while let Ok(_) = listen.accept() {}
});