Add an example for lots of entries.

This commit is contained in:
Peter Lawrey
2014-12-19 21:32:45 +00:00
parent e71dfa9734
commit 4a05e33d46
2 changed files with 62 additions and 2 deletions
@@ -523,7 +523,6 @@ public class ChronicleMapTest {
map.close();
}
@Ignore("JIRA raised HCOLL-221")
@Test
public void testAcquireFromMultipleThreads() throws Exception {
int entries = 1000 * 1000;
@@ -538,7 +537,7 @@ public class ChronicleMapTest {
CharSequence key = getUserCharSequence(0);
map.acquireUsing(key, new LongValue$$Native());
int iterations = 1000;
int iterations = 10000;
int noOfThreads = 10;
CyclicBarrier barrier = new CyclicBarrier(noOfThreads);