mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-249 fixed Bytes as CharSequence value test case
This commit is contained in:
@@ -543,7 +543,6 @@ public class CHMUseCasesTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Ignore("HCOLL-249 issue when using acquireUsingLocked() with ByteBufferBytes wrong string.length()")
|
||||
@Test
|
||||
public void testAcquireUsingWithByteBufferBytesValue() throws IOException {
|
||||
|
||||
@@ -564,6 +563,7 @@ public class CHMUseCasesTest {
|
||||
try (WriteContext rc = map.acquireUsingLocked(key, value)) {
|
||||
assertTrue(key instanceof IntValue);
|
||||
assertTrue(value instanceof CharSequence);
|
||||
value.limit(value.position());
|
||||
}
|
||||
|
||||
assertTrue( map.get(key).length() == 0);
|
||||
|
||||
Reference in New Issue
Block a user