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

tarantool / tarantool / 12503247822
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part1
DEFAULT BRANCH: master
Ran 26 Dec 2024 11:33AM UTC
Jobs 1
Files 479
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

26 Dec 2024 11:19AM UTC coverage: 85.96% (-0.02%) from 85.978%
12503247822

push

github

sergepetrenko
test: speedup and stabilize the gh_7605_qsort_recovery test

The test used to take around 180 seconds in debug build and was quite
flaky.

When the test was introduced in commit e1d961708504 ("Fix a bug in
qsort") it was stated that such a long test with 2 million keys was needed
to reproduce the bug.

Since the test introduction our sort implementation was rewritten in
commit ec34bf7ba3ea ("core: introduce sample sort algorithm") and
commit 4f617b702f0f ("box: introduce memtx_sort_threads config parameter").

Now multithread sort is used as long as there are more than a 1024 keys
to sort, so such a huge test seems unnecessary.

Let's reduce test size to 20000 keys from 2000000 and make the test code
yield every 1000 iterations instead of 10000, which is a more common
practice.

When running the test a lot times in parallel the fiber slice check may
still fail during index correctness check, so set fiber slice there as
well.

Now the test runs around 6 seconds in debug build and may be removed
from long-run list.

The test still spots the original problem in case it appears which can
be verified by reverting the fix from the original commit.

Closes #10961

NO_CHANGELOG=test
NO_DOC=test

(cherry picked from commit cfc6b4a27)

63225 of 114505 branches covered (55.22%)

94097 of 109466 relevant lines covered (85.96%)

2162210.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12503247822.1 26 Dec 2024 11:33AM UTC 0
85.96
GitHub Action Run
Source Files on build 12503247822
Detailed source file information is not available for this build.
  • Back to Repo
  • 547425a5 on github
  • Prev Build on release/2.11 (#12478847095)
  • Next Build on release/2.11 (#12513956915)
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