Skip to content

Commit 6ef73ae

Browse files
committed
switch test server to 127.0.0.1
1 parent d18a53b commit 6ef73ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ impl Server {
1717
static DEFAULT_USER_AGENT: &'static str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"));
1818

1919
pub fn spawn(txns: Vec<(Vec<u8>, Vec<u8>)>) -> Server {
20-
let listener = net::TcpListener::bind("0.0.0.0:0").unwrap();
20+
let listener = net::TcpListener::bind("127.0.0.1:0").unwrap();
2121
let addr = listener.local_addr().unwrap();
2222
thread::spawn(move || {
2323
for (mut expected, reply) in txns {

0 commit comments

Comments
 (0)