Merge pull request #782 from ethcore/test-fix

Auto detect available port
This commit is contained in:
Gav Wood
2016-03-20 10:23:55 +01:00
7 changed files with 83 additions and 60 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_with_port(40456), &temp_path.as_path());
let service = ClientService::start(ClientConfig::default(), spec, NetworkConfiguration::new_local(), &temp_path.as_path());
assert!(service.is_ok());
}
}