Skip to content

Conversation

@a-TODO-rov
Copy link
Contributor

Resolves #4334

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Test Results

   281 files  ± 0     281 suites  ±0   11m 33s ⏱️ ±0s
10 278 tests +81  10 143 ✅ +1 011  135 💤  - 930  0 ❌ ±0 
 2 712 runs  ± 0   2 712 ✅ ±    0    0 💤 ±  0  0 ❌ ±0 

Results for commit 0fdf02a. ± Comparison against base commit 97dc9b1.

♻️ This comment has been updated with latest results.

@a-TODO-rov a-TODO-rov marked this pull request as ready for review November 5, 2025 12:09
@a-TODO-rov a-TODO-rov requested review from ggivo and uglide November 5, 2025 15:32
idle = LONG.build(objectList.get(2));
times = LONG.build(objectList.get(3));
}
return new StreamEntry(entryID, map, idle, times);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly unused code

if (res.size() >= 4) {
Object idleObj = res.get(2);
Object timesObj = res.get(3);
idle = (idleObj instanceof Long) ? (Long) idleObj : Long.valueOf(STRING.build(idleObj));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useless ternary - type is byteArray and it should be parsed to String via builder

if (res.size() >= 4) {
Object idleObj = res.get(2);
Object timesObj = res.get(3);
idle = (idleObj instanceof Long) ? (Long) idleObj : Long.valueOf(STRING.build(idleObj));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Map<String, StreamEntryID> stream = Collections.singletonMap(key, StreamEntryID.XREADGROUP_UNDELIVERED_ENTRY);
exec(commandObjects.xreadGroup(group, consumer, new XReadGroupParams().count(3), stream));

Thread.sleep(60);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lessen time waiting or think of a way to modify tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for CLAIM option on XREADGROUP

2 participants