HCOLL-167 improving stateless map

This commit is contained in:
Rob Austin
2014-10-22 18:15:37 +01:00
parent ac6f3dd778
commit b7c10f6cb7
3 changed files with 119 additions and 69 deletions
@@ -572,7 +572,7 @@ public class StatelessChronicleMapTest extends JSR166TestCase {
*/
@Test
public void testContainsKey_NullPointerException() throws IOException {
try (ChronicleMap c = newShmIntString(8076)) {
try (ChronicleMap c = newShmIntString(8079)) {
c.containsKey(null);
shouldThrow();
} catch (NullPointerException success) {
@@ -713,7 +713,7 @@ public class StatelessChronicleMapTest extends JSR166TestCase {
@Test
public void testRemove2_NullPointerException
() throws IOException {
try (ChronicleMap c = newStrStrMap(8076)) {
try (ChronicleMap c = newStrStrMap(8086)) {
c.put("sadsdf", "asdads");
c.remove(null, "whatever");
shouldThrow();