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

pingcap / pd / 1315
88%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2016 09:02AM UTC
Jobs 1
Files 48
Run time 2s
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
1315

push

travis-ci

web-flow
server/leader: return error when no leader (#376)

The get leader API does not check nil leader, it may panic when no
leader.

I think is more reasonable to return an error when no leader in
`GetLeader()`, so we don't need to check nil leader everywhere.

3653 of 4908 relevant lines covered (74.43%)

110.99 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1315.2 (TRAVIS_COVERAGE=1) 04 Nov 2016 09:02AM UTC 0
74.43
Travis Job 1315.2
Source Files on build 1315
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1315
  • f5e51605 on github
  • Prev Build on master (#1302)
  • Next Build on master (#1316)
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