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

tarantool / test-run / 9285268044
63%

Build:
DEFAULT BRANCH: master
Ran 29 May 2024 11:29AM UTC
Jobs 1
Files 25
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

29 May 2024 11:28AM UTC coverage: 62.506%. Remained the same
9285268044

push

github

ylobankov
dispatcher: lift pipe buffer size restriction

A task queue dispatcher puts all the tasks to the task queue at startup.
Then workers are started and are taking the tasks from it.

If there are many tasks in a task group (which roughly corresponds to a
test suite), we can reach the pipe buffer size on putting into the
queue, because `multiprocessing.SimpleQueue` uses a pipe under the hood.

The solution is to use `multiprocessing.Queue`, which has an
intermediate buffer before the underlying pipe and writes to the pipe in
a background thread, without blocking a thread that calls
`<queue>.put()`.

The `Queue` API is a superset of the `SimpleQueue` API, so we can just
replace the implementation.

Let's also use `Queue` for the worker's output queue to be on the safe
side and for consistency.

Fixes #287

759 of 1564 branches covered (48.53%)

Branch coverage included in aggregate %.

3 of 4 new or added lines in 1 file covered. (75.0%)

1 existing line in 1 file now uncovered.

2937 of 4349 relevant lines covered (67.53%)

0.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.17
0.0% dispatcher.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.17
0.0% dispatcher.py
Jobs
ID Job ID Ran Files Coverage
1 9285268044.1 29 May 2024 11:29AM UTC 25
62.51
Source Files on build 9285268044
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 81259c4a on github
  • Prev Build on master (#9259128115)
  • Next Build on master (#9285586517)
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

© 2025 Coveralls, Inc