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

pingcap / pd / 1313
74%
master: 88%

Build:
Build:
LAST BUILD BRANCH: huachao/balance-region
DEFAULT BRANCH: master
Ran 04 Nov 2016 04:29AM UTC
Jobs 1
Files 48
Run time 3s
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
1313

push

travis-ci

huachaohuang
server/leader: return error when no leader

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.45 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1313.2 (TRAVIS_COVERAGE=1) 04 Nov 2016 04:29AM UTC 0
74.43
Travis Job 1313.2
Source Files on build 1313
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1313
  • bb351857 on github
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