kstyrc / embedded-redis

Redis embedded server for Java integration testing
856 stars 372 forks source link

Unsupported operation eval with Redisson client #94

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello, I am using Redisson client(V 3.6.5) to connect with Redis server in my spring boot application. I got below error while writing integration test case with using com.github.kstyrc:embedded-redis: 0.6

04-07-2018 10:07:27.279 ?[35m[http-nio-0.0.0.0-auto-1-exec-1]?[0;39m ?[39mDEBUG?[0;39m c.s.a.a.xxx.assertionException - assertionException: 
org.redisson.client.RedisException: Unsupported operation 'eval'. channel: [id: 0x0c97528e, L:/127.0.0.1:53538 - R:localhost/127.0.0.1:9999] command: (EVAL), params: [local value = redis.call('hget', KEYS[1], ARGV[2]); local expireDate = 92233720368547758; if value ~..., 5, redis_login_blocked_user_map, redisson__timeout__set:{redis_login_blocked_user_map}, redisson__idle__set:{redis_login_blocked_user_map}, redisson__map_cache__last_access__set:{redis_login_blocked_user_map}, {redis_login_blocked_user_map}:redisson_options, 1530679046964, PooledUnsafeDirectByteBuf(ridx: 0, widx: 21, cap: 256)]
    at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:300)
    at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:110)
    at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
    at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:367)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)