From 126d4fb08919681d0d30bf3fabbda37f56266e48 Mon Sep 17 00:00:00 2001 From: leventov Date: Sat, 24 Jan 2015 13:54:39 +0700 Subject: [PATCH] Fixed TimeBasedRepliationTest --- .../net/openhft/chronicle/map/TimeBasedReplicationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/openhft/chronicle/map/TimeBasedReplicationTest.java b/src/test/java/net/openhft/chronicle/map/TimeBasedReplicationTest.java index 338c4fb54..7aba61fa5 100644 --- a/src/test/java/net/openhft/chronicle/map/TimeBasedReplicationTest.java +++ b/src/test/java/net/openhft/chronicle/map/TimeBasedReplicationTest.java @@ -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);