s/nodes_from_point/nodes_from_point_response and change test from reftest to regular test checking only the fixed crash

This commit is contained in:
Fernando Jiménez Moreno 2017-03-02 16:51:42 +01:00
parent 7426d902a3
commit 31d833f32c
6 changed files with 17 additions and 32 deletions

View file

@ -147,7 +147,7 @@ impl LayoutRPC for LayoutRPCImpl {
}
}
fn nodes_from_point(&self) -> Vec<UntrustedNodeAddress> {
fn nodes_from_point_response(&self) -> Vec<UntrustedNodeAddress> {
let &LayoutRPCImpl(ref rw_data) = self;
let rw_data = rw_data.lock().unwrap();
rw_data.nodes_from_point_response.clone()