public void testResolveReachableOneAddress() throws Exception {
  InetAddress addr=InetAddress.getByAddress(new byte[]{127,0,0,1});
  List<InetAddress> filtered=IgniteUtils.filterReachable(Collections.singletonList(addr));
  assertEquals(1,filtered.size());
  assertEquals(addr,filtered.get(0));
}

public void testResolveReachableOneAddress ( ) throws Exception { InetAddress addr = InetAddress . getByAddress ( new byte [ ] { 127 , 0 , 0 , 1 } ) ; List < InetAddress > filtered = IgniteUtils . filterReachable ( Collections . singletonList ( addr ) ) ; assertEquals ( 1 , filtered . size ( ) ) ; assertEquals ( addr , filtered . get ( 0 ) ) ; }
simple test of address list filtering .
