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

tarantool / tarantool / 9224378379
88%

Build:
DEFAULT BRANCH: master
Ran 24 May 2024 01:16PM UTC
Jobs 1
Files 513
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

24 May 2024 01:01PM UTC coverage: 87.085% (-0.02%) from 87.106%
9224378379

push

github

alyapunov
net.replicaset: fix a flaky test

Fix several problems that led to unexpected results:
* Handle error thrown by box.clt.promote. Not very often but
  it could fail ruining the test. Fixed by retry.
* It's not so obvious but RO server after successful call of
  box.ctl.promote for some time remains RO. On the other hand
  both net.replicaset and the test rely box.info.ro to define
  the leader, for in their view the actual switch to the new
  leader happens some (perhaps different) time after call to
  box.ctl.promote. That asynchrony sometimes led to unexpected
  results. Fixed by waiting of RW status.
* The fix above (wait for RW of the new leader) introduced new
  problem: in case with sequential leader change and broadcast
  of new values, the new leader has good chances (but not 100%)
  to deliver old broadcasted value to the watcher. Fix it by
  splitting the sequence to the leader change with verification
  and broadcast with verification.
* The similar problem happens when a test starts. It may happen
  that all instances are RO, so the initial broadcast on actual
  leader is run with wrong value (that a replica must use).
  Fix it by waiting for a leader to become RW.

Follow-up #9823

NO_DOC=fix flaky test
NO_CHANGELOG=fix flaky test

67496 of 119945 branches covered (56.27%)

100205 of 115066 relevant lines covered (87.08%)

2449885.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9224378379.1 24 May 2024 01:16PM UTC 0
87.08
GitHub Action Run
Source Files on build 9224378379
Detailed source file information is not available for this build.
  • Back to Repo
  • f1efc1bd on github
  • Prev Build on master (#9223862009)
  • Next Build on master (#9224792340)
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