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

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

Build:
Build:
LAST BUILD BRANCH: renovate/npm-esbuild-vulnerability
DEFAULT BRANCH: master
Ran 29 Sep 2023 11:07AM UTC
Jobs 1
Files 177
Run time 8s
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

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%)

6 of 6 new or added lines in 1 file covered. (100.0%)

1964 of 2058 relevant lines covered (95.43%)

2530.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6350674015.1 29 Sep 2023 11:07AM UTC 177
95.43
GitHub Action Run
Source Files on build 6350674015
  • Tree
  • List 177
  • Changed 9
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 39783028 on github
  • Prev Build on main (#6350620696)
  • Next Build on main (#6350683917)
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