fppt / jedis-mock

A simple redis java mock for unit testing
Apache License 2.0
163 stars 58 forks source link

XAdd does not unblock XRead with BLOCK > 0 #452

Closed filipezlopez closed 5 months ago

filipezlopez commented 5 months ago

When XReading with BLOCK > 0 and other client XAdd to same stream, then XRead should be responded. Currently, only if BLOCK = 0 the XAdd causes to send response as it checks for updates and break while loop.

1BAH commented 5 months ago

Thanks. I'm working on this problem now. I'll try to fix it as soon as possible.

inponomarev commented 5 months ago

@filipezlopez please update to v. 1.1.1