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

tarantool / tarantool / 10510807663
88%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2024 03:22PM UTC
Jobs 1
Files 514
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

22 Aug 2024 03:12PM UTC coverage: 87.192% (-0.007%) from 87.199%
10510807663

push

github

locker
test: fix flaky gh-5998-one-tx-for-ddl.test.lua

The test expects that any DDL operation aborts **all** concurrent
transactions, but since commit f5f061d051dc ("vinyl: do not abort
unrelated transactions on DDL") this isn't exactly true: transactions
that haven't read/written anything aren't aborted. In the test we expect
a transaction that haven't done anything to be aborted by DDL and it
**is** aborted most of them time but for a different reason: it reads
data that are later modified for `box.schema.user.create()` reads
`box.space._user:max()` to generate an id for the new user first. Since
it reads before writing anything, it has the "read-confirmed" isolation
level hence it's aborted by the transaction creating another user
because the latter updates `box.space._user:max()`. However, sometimes
both users are created and the test fails. This happens if the first
transaction manages to commit before the second one reads the `_user`
system space.

To fix the test and make the transaction creating the second user fail
due to DDL, let's add a read of the `_user` system space before putting
it to sleep. Actually, this even makes the test closer to the "original
test from #5998".

Closes #10444

NO_DOC=test fix
NO_CHANGELOG=test fix

68300 of 121567 branches covered (56.18%)

100938 of 115765 relevant lines covered (87.19%)

2414985.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10510807663.1 22 Aug 2024 03:22PM UTC 0
87.19
GitHub Action Run
Source Files on build 10510807663
Detailed source file information is not available for this build.
  • Back to Repo
  • 62c051e2 on github
  • Prev Build on master (#10510546701)
  • Next Build on master (#10510828635)
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