forked from zxl0714/redis-mock
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
buginfo-neededAdditional information is needed from the reporterAdditional information is needed from the reporter
Description
I'm using jedis-mock in my unit tests. The code to be tested is using the Jedis client to make an XREAD call as follows:
client.xread(XReadParams.xReadParams().block(0).count(1), Map.of("stream:key", StreamEntryID.LAST_ENTRY))With this ID, the code never receives entries sent by the test driver. When I change the code to
client.xread(XReadParams.xReadParams().block(0).count(1), Map.of("stream:key", new StreamEntryID()))to read from the beginning, it works as expected.
Is this not supported?
Metadata
Metadata
Assignees
Labels
buginfo-neededAdditional information is needed from the reporterAdditional information is needed from the reporter