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

mostafa / xk6-kafka / 12161485544
72%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2024 02:12PM UTC
Jobs 1
Files 16
Run time 1min
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

04 Dec 2024 02:10PM UTC coverage: 75.526% (+0.4%) from 75.172%
12161485544

push

github

web-flow
Flag to return messages received so far when maxWait is reached (#313)

* Flag to return messages received so far when maxWait is reached.

The current behavior, to panic on deadline is problematic, since
there are a number of scenarios where you simply do not know how
many messages there are to consume or when they are produced. For
example, a load test may produce messages in bursts with jitter
for a burn-in test, to try to provoke i data races in the test
subject.

This commit introduces a flag ExpectTimeout which will return message
received so far.

The commit also adds a test to verify that we panic if Close() is
called while we are consuming. Given the nature of the problem
xk6-kafka is trying to solve, this sounds like an errar condition.

* Include expectTimeout in docs.

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

1543 of 2043 relevant lines covered (75.53%)

14.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12161485544.1 04 Dec 2024 02:12PM UTC 0
75.53
GitHub Action Run
Source Files on build 12161485544
Detailed source file information is not available for this build.
  • Back to Repo
  • 2c5d3281 on github
  • Prev Build on main (#12138165921)
  • Next Build on main (#12391426951)
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