should use double type for test

pull/830/head
Rui Gu 8 years ago
parent 09077c7ab7
commit c896e04947

@ -860,7 +860,7 @@ public class RedissonMapCacheTest extends BaseTest {
Assert.assertEquals("1", map.get("4"));
RMapCache<String, Object> mapCache1 = redisson.getMapCache("test_put_if_absent_3");
Object currValue = mapCache1.putIfAbsent("4", 1.23, 10000L, TimeUnit.SECONDS);
Object updatedValue = mapCache1.addAndGet("4", 1L);
Object updatedValue = mapCache1.addAndGet("4", 1D);
System.out.println("updatedValue: " + updatedValue);
}

Loading…
Cancel
Save