public void testPing(){
  for (  DiscoverySpi spi : spis) {
    for (    IgniteTestResources rscrs : spiRsrcs) {
      UUID nodeId=rscrs.getNodeId();
      if (spi.pingNode(nodeId))       info("Ping node success [nodeId=" + nodeId + ", spiIdx="+ spis.indexOf(spi)+ ']');
 else       fail("Ping node error [nodeId=" + nodeId + ", spiIdx="+ spis.indexOf(spi)+ ']');
    }
  }
}

public void testPing ( ) { for ( DiscoverySpi spi : spis ) { for ( IgniteTestResources rscrs : spiRsrcs ) { UUID nodeId = rscrs . getNodeId ( ) ; if ( spi . pingNode ( nodeId ) ) info ( "Ping node success [nodeId=" + nodeId + ", spiIdx=" + spis . indexOf ( spi ) + ']' ) ; else fail ( "Ping node error [nodeId=" + nodeId + ", spiIdx=" + spis . indexOf ( spi ) + ']' ) ; } } }
checks that each spi can pings all other .
