@Override
        public void run() {
            try {
                this.parser.initUrlArgs(addr);
                addr.setConnNum(connNum);
                addr.setConnWarmup(warmup);
                Connection conn = cm.getAndCreateIfAbsent(addr);
                Assert.assertNotNull(conn);
                Assert.assertTrue(conn.isFine());
            } catch (RemotingException e) {
                logger.error("error!", e);
                Assert.assertTrue(false);
            } catch (Exception e) {
                logger.error("error!", e);
                Assert.assertTrue(false);
            }
        }
Concurrent create connection test

@author xiaomin.cxm
@version $Id: ConcurrentTest.java, v 0.1 Mar 10, 2016 9:50:00 AM xiaomin.cxm Exp $
src/test/java/com/alipay/remoting/inner/connection/ConcurrentCreateConnectionTest.java