Improved estimateSegments() heuristic and fix tests

This commit is contained in:
leventov
2014-10-25 01:58:05 +04:00
parent 7a86306e0b
commit ffd66c3f52
2 changed files with 9 additions and 7 deletions
@@ -96,7 +96,7 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
* Returns a new map from Integers 1-5 to Strings "A"-"E".
*/
private ChronicleMap map5() throws IOException {
ChronicleMap<Integer, CharSequence> map = newShmIntString(5);
ChronicleMap<Integer, CharSequence> map = newShmIntString(10);
assertTrue(map.isEmpty());
map.put(JSR166TestCase.one, "A");
map.put(JSR166TestCase.two, "B");