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

tarantool / tarantool / 12436013294
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/restart_server
DEFAULT BRANCH: master
Ran 20 Dec 2024 06:02PM UTC
Jobs 1
Files 518
Run time 2min
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

20 Dec 2024 05:47PM UTC coverage: 87.379% (+0.01%) from 87.367%
12436013294

push

github

Totktonada
lua: fix flaky custom allocator test again

This patch fixes the flaky test verifying `used()` and `unused()`
functions of the `internal.alloc` module in the `alloc_test` suite.

The test compares the value of the used memory with the one calculated
by the builtin Lua functions. The executed and the real values has been
close to each other though not equal. This false negative result likely
happens because of the details of the `collectgarbage()` implementation.

This patch fixes it by adding arbitrary margin equal to 16Kb of memory
when comparing the value calculated using the LuaJIT call with the one
provided by the module function.

The same problem has been fixed in terms of the commit 7731d13d0af6a1
("lua: fix flaky custom allocator test"). The previous
commit fixed corresponding checks on the `unused()` value. This one
fixes `used()` checks that seem to be not precise in coverage workflows.

NO_CHANGELOG=flaky tests
NO_DOC=flaky tests

(cherry picked from commit dd5039a1d)

69685 of 123524 branches covered (56.41%)

102630 of 117454 relevant lines covered (87.38%)

3271784.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12436013294.1 20 Dec 2024 06:02PM UTC 0
87.38
GitHub Action Run
Source Files on build 12436013294
Detailed source file information is not available for this build.
  • Back to Repo
  • b978ffd8 on github
  • Prev Build on release/3.3 (#12397458527)
  • Next Build on release/3.3 (#12469182044)
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