@Override public void setUp() throws Exception { super.setUp(); Node test = session.getRootNode().addNode("test", "nt:unstructured"); saveCounter = 0; long t1 = System.currentTimeMillis(); buildContent(DEPTH, test); session.save(); long t2 = System.currentTimeMillis(); if (log.isDebugEnabled()) { System.err.println("timing building=" + (t2 - t1) / 1000.0 + "s"); } random = new Random(478923066); saveCounter = 0; long t3 = System.currentTimeMillis(); buildReferences(DEPTH, test); session.save(); long t4 = System.currentTimeMillis(); if (log.isDebugEnabled()) { System.err.println("timing linking=" + (t4 - t3) / 1000.0 + "s"); } }
@Before @Override public void setUp() throws Exception { super.setUp(); }