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

apache / bookkeeper / 277
72%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2018 02:55PM UTC
Jobs 1
Files 465
Run time 27s
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

pending completion
277

push

jenkins

GitHub
Fix flake in AuditorPeriodicBookieCheckTest

The flake was occurring because the bookie checker was trying to
connect to a TCP endpoint that didn't respond (1.1.1.1) and was
waiting for the whole tcp connect timeout (10sec), while the test was
waiting 10 seconds for the success condition to occur. The success
condition often occurred just after the test fails.

The solution was to bring the connect timeout for the client down to
500ms, giving the auditor plenty of time to register the
underreplicated ledger.

I guess this used to pass in the past because maybe 1.1.1.1 was
actually rejecting packets instead of dropping them, and these changed
when cloudflare took over the address. I changed the endpoint to
192.0.2.0/24 range (TEST-NET) to avoid a similar scenario in the
future.


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org>

This closes #1826 from ivankelly/auditor-bookie-flake

25360 of 35266 relevant lines covered (71.91%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 277.1 22 Nov 2018 02:55PM UTC 0
71.91
Source Files on build 277
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #277
  • ac7c567f on github
  • Prev Build on master (#276)
  • Next Build on master (#278)
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