3233343536373839404142
@Test public void test_ok() { RowDataMemoryPipe pipe = new RowDataMemoryPipe(); pipe.setDownloadDir(tmp); try { pipe.afterPropertiesSet(); } catch (Exception e) { want.fail(); } DbBatch source = new DbBatch();
5758596061626364656667
public void test_timeout() { RowDataMemoryPipe pipe = new RowDataMemoryPipe(); pipe.setTimeout(1 * 1000L);// 1s后超时 pipe.setDownloadDir(tmp); try { pipe.afterPropertiesSet(); } catch (Exception e) { want.fail(); } DbBatch source = new DbBatch();