diff --git a/payjoin/contrib/test.sh b/payjoin/contrib/test.sh index 5f49c814..24e03206 100755 --- a/payjoin/contrib/test.sh +++ b/payjoin/contrib/test.sh @@ -3,4 +3,4 @@ set -e cargo test --locked --package payjoin --verbose --all-features --lib cargo test --locked --package payjoin --verbose --features=send,receive --test integration -cargo test --locked --package payjoin --verbose --no-default-features --features=send,receive,danger-local-https,v2 --test integration +cargo test --locked --package payjoin --verbose --no-default-features --features=send,receive,danger-local-https,v2 --test integration -- --nocapture diff --git a/payjoin/tests/integration.rs b/payjoin/tests/integration.rs index 2904f9ca..532d1346 100644 --- a/payjoin/tests/integration.rs +++ b/payjoin/tests/integration.rs @@ -917,10 +917,11 @@ mod integration { async fn reserve_port() -> u16 { let mut reserved_ports = RESERVED_PORTS.lock().await; + println!("reserving {:?}", &reserved_ports); let listener = std::net::TcpListener::bind("0.0.0.0:0").unwrap(); let port = listener.local_addr().unwrap().port(); if reserved_ports.insert(port) { - println!("{:?}", &reserved_ports); + println!("reserved {:?}", &reserved_ports); port } else { panic!("PORT RESERVED!!!");