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

ipfs / ipfs-cluster / 1041
74%
master: 65%

Build:
Build:
LAST BUILD BRANCH: feat/expvar
DEFAULT BRANCH: master
Ran 15 Nov 2017 01:53AM UTC
Jobs 1
Files 31
Run time 5s
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
1041

push

travis-ci

hsanjuan
Cluster: Fix libp2p host getting shutdown in the middle of peer removal

This is what it was likely causing PeerRemove tests to fail randomly
but very often. We cancelled the Cluster context before shutting down
the Consensus component. This killed networking and aborted
the peer remove operations when the leader is removing itself.

As a result, it would error with "leadership lost", which would
trigger a retry which would set the final error to "context cancelled"
because the shutdown of the consensus component proceeds during the
retry, cancelling the consensus context.

This is not only affecting tests, it might affected operations when
running cluster.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>

3646 of 4938 relevant lines covered (73.84%)

155.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
ipfsconn/ipfshttp/ipfshttp.go
3
100.0
monitor/basic/peer_monitor.go
36
100.0
consensus/raft/consensus.go
106
100.0
cluster.go
Jobs
ID Job ID Ran Files Coverage
1 1041.1 15 Nov 2017 01:53AM UTC 0
73.84
Travis Job 1041.1
Source Files on build 1041
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1041
  • 145dced3 on github
  • Prev Build on fix/minor-fixes (#1024)
  • Next Build on fix/minor-fixes (#1045)
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