mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Improved estimateSegments() heuristic and fix tests
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user