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

tarantool / tarantool / 12433214913
88%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2024 02:48PM UTC
Jobs 1
Files 518
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

20 Dec 2024 02:31PM UTC coverage: 87.382% (+0.01%) from 87.369%
12433214913

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

69700 of 123518 branches covered (56.43%)

102642 of 117464 relevant lines covered (87.38%)

2878509.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12433214913.1 20 Dec 2024 02:48PM UTC 0
87.38
GitHub Action Run
Source Files on build 12433214913
Detailed source file information is not available for this build.
  • Back to Repo
  • dd5039a1 on github
  • Prev Build on master (#12419015446)
  • Next Build on master (#12433549065)
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