question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`[stream] xclaim and xpending, all options` test seems to be flaky

See original GitHub issue

https://github.com/denodrivers/redis/runs/1523779037

failures:

[stream] xclaim and xpending, all options
Error: -ERR The ID specified in XADD is equal or smaller than the target stream top item

    at tryParseErrorReply (io.ts:194:11)
    at readReply (io.ts:104:7)
    at async RedisImpl.execBulkReply (redis.ts:99:24)
    at async Promise.all (index 0)
    at async stream_test.ts:473:5
    at async withConsumerGroup (stream_test.ts:39:3)
    at async Object.func (stream_test.ts:464:3)
    at async test_util.ts:35:9
    at async asyncOpSanitizer (deno:cli/rt/40_testing.js:36:7)
    at async Object.resourceSanitizer [as fn] (deno:cli/rt/40_testing.js:70:7)

[stream] xinfo
AssertionError: Test case is leaking async ops.
Before:
  - dispatched: 1381
  - completed: 1380
After:
  - dispatched: 1412
  - completed: 1412

Make sure to await all promises returned from Deno APIs before
finishing test case.
    at assert (deno:cli/rt/06_util.js:33:13)
    at asyncOpSanitizer (deno:cli/rt/40_testing.js:46:7)
    at async Object.resourceSanitizer [as fn] (deno:cli/rt/40_testing.js:70:7)
    at async TestRunner.[Symbol.asyncIterator] (deno:cli/rt/40_testing.js:245:13)
    at async Object.runTests (deno:cli/rt/40_testing.js:322:22)
    at async $deno$test.ts:3:1

failures:

	[stream] xclaim and xpending, all options
	[stream] xinfo

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Terkwoodcommented, Dec 29, 2020

Yeah, I appreciate that Microsoft has given us such a nice tool in Github Actions, but their compute power is limited! I proposed a fix in #165, which apparently passes on the first try here in Githubland. Let me know what you think.

1reaction
uki00acommented, Dec 29, 2020

This worked well on my local machine! (Ubuntu 20.04) I’ll look into it too 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

XCLAIM - Redis
In the context of a stream consumer group, this command changes the ownership of a pending message, so that the new owner is...
Read more >
Why Women Flake (And How To Stop It) - Paging Dr. NerdLove
Getting stood up? Getting tired of women flaking out after you get their number? This guide ensures you never deal with last minute...
Read more >
Sample MBE II, July 1991
The Multistate Bar Examination (MBE) is an objective six-hour examination developed by the National Conference of Bar. Examiners (NCBE) that contains 200 ...
Read more >
Scalp tenderness: Symptoms, causes, and treatments
Migraines, tension headaches, and autoimmune disorders like psoriasis can all cause the scalp to become inflamed, irritated, and painful.
Read more >
33 Things That'll Make It Way Easier To Do Your Hair In 2023
Nizoral Anti-Dandruff Shampoo stops the flaky mess, once and for all so you don't have to worry about picking out flakes before you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found