Ran
|
Jobs
1
|
Files
518
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
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
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
86.49 |
-1.35% | src/box/lua/ctl.c |
1 |
84.5 |
0.27% | src/box/xlog.c |
1 |
95.78 |
-0.12% | src/box/replication.cc |
1 |
84.53 |
-0.36% | src/lib/core/coio.c |
1 |
87.6 |
0.07% | src/box/vy_run.c |
1 |
93.01 |
0.08% | src/lib/core/fiber.c |
1 |
92.2 |
0.09% | src/box/vinyl.c |
2 |
85.71 |
-9.52% | src/lib/core/tt_sigaction.c |
3 |
90.7 |
-0.22% | src/box/applier.cc |
4 |
94.25 |
-0.78% | src/box/xrow_update_field.c |
20 |
90.94 |
-0.64% | src/box/box.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12436013294.1 | 518 |
87.38 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|