/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { super.beforeTestsStarted(); for (int i = 0; i < vals.length; i++) { int valLen = ThreadLocalRandom8.current().nextInt(128, 512); StringBuilder sb = new StringBuilder(); for (int j = 0; j < valLen; j++) sb.append('a' + ThreadLocalRandom8.current().nextInt(20)); vals[i] = sb.toString(); info("Value: " + vals[i]); } }
/** {@inheritDoc} */ @Override protected void afterTestsStopped() throws Exception { super.afterTestsStopped(); stopAllGrids(); }
/** {@inheritDoc} */ @Override protected void beforeTestsStarted() throws Exception { super.beforeTestsStarted(); startGrids(4); }