mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fixed TimeBasedRepliationTest
This commit is contained in:
@@ -114,7 +114,7 @@ public class TimeBasedReplicationTest extends JSR166TestCase {
|
||||
|
||||
// should NOT throw LateUpdateException because the value is present and it is just
|
||||
// returned.
|
||||
assertEquals(map.putIfAbsent("key-1", "value-2"), null);
|
||||
assertEquals("value-1", map.putIfAbsent("key-1", "value-2"));
|
||||
|
||||
// we'll now flip the time back to the current in order to do the read the result
|
||||
current(timeProvider);
|
||||
|
||||
Reference in New Issue
Block a user