Auto detect available port

This commit is contained in:
arkpar
2016-03-20 11:35:46 +01:00
parent f1f421af76
commit 6e9ea76aab
8 changed files with 87 additions and 63 deletions

View File

@@ -208,6 +208,7 @@ fn can_select_public_address() {
assert!(pub_address.port() == 40477);
}
#[ignore]
#[test]
fn can_map_external_address_or_fail() {
let pub_address = select_public_address(40478);