public void testBug11259() throws Exception {
  Connection dsConn=null;
  try {
    Properties props=new Properties();
    props.setProperty("autoReconnect","true");
    dsConn=getConnectionWithProps(props);
  }
  finally {
    if (dsConn != null) {
      dsConn.close();
    }
  }
}

public void testBug11259 ( ) throws Exception { Connection dsConn = null ; try { Properties props = new Properties ( ) ; props . setProperty ( "autoReconnect" , "true" ) ; dsConn = getConnectionWithProps ( props ) ; } finally { if ( dsConn != null ) { dsConn . close ( ) ; } } }
tests fix for bug # 11259 , autoreconnect ping causes exception on connection startup .
