public void test_slice_threadSafe() throws Exception { final long timeout = 10000; // ms final int ntrials = 10000; final int poolSize = 10; doSliceTest(500L/* offset */, 1500L/* limit */, timeout, ntrials, poolSize); }
public void testStressThreadSafe() throws Exception { for(int i=0; i<100; i++) { test_slice_threadSafe(); } }
log.info(getClass().getName() + "." + getName() + " : " + stats); assertNotNull(stats); assertEquals(limit, stats.naccepted.get()); assertEquals(limit, nsolutions);
@Override public void setUp() throws Exception { jnl = new Journal(getProperties()); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
log.info(getClass().getName() + "." + getName() + " : " + stats); assertNotNull(stats); assertEquals(limit, stats.naccepted.get()); assertEquals(limit, nsolutions);
@Override public void setUp() throws Exception { jnl = new Journal(getProperties()); queryEngine = new QueryEngine(jnl); queryEngine.init(); }
public void test_slice_threadSafe() throws Exception { final long timeout = 10000; // ms final int ntrials = 10000; final int poolSize = 10; doSliceTest(500L/* offset */, 1500L/* limit */, timeout, ntrials, poolSize); }
public void testStressThreadSafe() throws Exception { for(int i=0; i<100; i++) { test_slice_threadSafe(); } }