Revert "Auto detect available port"

This commit is contained in:
Arkadiy Paronyan
2016-03-20 12:12:58 +01:00
parent 6feb503c67
commit 2ec40604d9
7 changed files with 60 additions and 83 deletions

View File

@@ -146,7 +146,7 @@ mod tests {
fn it_can_be_started() {
let spec = get_test_spec();
let temp_path = RandomTempPath::new();
let service = ClientService::start(ClientConfig::default(), spec, NetworkConfiguration::new_local(), &temp_path.as_path());
let service = ClientService::start(ClientConfig::default(), spec, NetworkConfiguration::new_with_port(40456), &temp_path.as_path());
assert!(service.is_ok());
}
}