464748495051525354
identity.setPipelineId(100L); identity.setProcessId(100L); rowBatch.setIdentity(identity); source.setRowBatch(rowBatch); MemoryPipeKey key = pipe.put(source); DbBatch target = pipe.get(key); want.bool(source == target).is(true);// 引用为同一个 }
7172737475767778798081
identity.setPipelineId(100L); identity.setProcessId(100L); rowBatch.setIdentity(identity); source.setRowBatch(rowBatch); MemoryPipeKey key = pipe.put(source); try { Thread.sleep(1500L); } catch (InterruptedException e) { want.fail(); }