• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stipsan / ioredis-mock / 6350674015 / 1
95%
master: 97%

Build:
Build:
LAST BUILD BRANCH: renovate/npm-esbuild-vulnerability
DEFAULT BRANCH: master
Ran 29 Sep 2023 11:07AM UTC
Files 177
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2023 11:05AM UTC coverage: 95.432% (+0.09%) from 95.338%
6350674015.1

push

github

web-flow
fix: xread fixes (#1318)

* fix: stream and id order in xread command

The syntax for an XREAD command is

```
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] id
  [id ...]
```

Before this fix the implementation used

```
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key id [key id...]
```

The new approach should be equally fast and provide the correct results. Also
adjusted existing tests.

Links:
https://redis.io/commands/xread/

* fix: BLOCKING behaviour to not return immediately

It needs to wait until the timeElapsed is greater or eq the defined blocking time.
The test was enhanced to spot the issue and verify the fix worked. This
uncovered another issue with the way found events are evaluated to always return
even without any event received. This problem is also fixed by this commit.

---------

Co-authored-by: Sven Sterbling <sven.sterbling@sap.com>

1152 of 1249 branches covered (0.0%)

1964 of 2058 relevant lines covered (95.43%)

2530.65 hits per line

Source Files on job 6350674015.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6350674015
  • 39783028 on github
  • Prev Job for on main (#6350620696.1)
  • Next Job for on main (#6350683917.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc