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

uber / ringpop-go / 1675 / 4
95%
dev: 95%

Build:
DEFAULT BRANCH: dev
Ran 01 Nov 2016 03:59PM UTC
Files 41
Run time 4s
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

01 Nov 2016 03:50PM UTC coverage: 94.816% (+0.008%) from 94.808%
RUN="make test-unit test-examples lint coveralls"

push

travis-ci

web-flow
Feature: Self-Eviction (#177)

* implement basic self eviction

* mockery made me inline the interface, but now tests work again

* return active phase from transition call

* more gopher way of registering eviction hooks.

* handle double SIGINT to forcefully exit

* add mocks for evict hook for testing

* Add tests for basic flow of the self eviction.

* Implement the pro active pinging on self eviction.

* add test for forcefully pinging around.

* Add test for second invocation of self evict

* fix counting of successful pings and add assert that it is counted correctly.

* ping all targets in parallel

* Reuse util.Min and extend its functionality to take the min of multiple numbers at once.

* add tests for util.SelectBool

* Add tests for self evition options.

* enable self-eviction integration tests.

* s/PingDisable/DisablePing.

* Documentation, nits and some naming.

* Prevent hooks to be registered after self eviction has started.

* Call all phases from SelfEvict,

Since some phases are somewhat complicated and logically separated I kept them in their own functions.

* comments

* use master for integration tests

* Make it easier to test all targets at once

* regenerate tchannel code with newer version of generator

* Address round of feedback

* Add stat timer for self-eviction

* regenerate mocks after clean setup

* Use identity instead of a name to prevent dual registery of self eviction hooks

* revisit eviction logic + locking

* s/was/is

* Make sure the numberOfPings logged equals the number of selected targets

* Add test to make sure hooks can't be registered after self eviction.

* use make test to test all possible tests

* Remove SelfEvictDisablePing option

4280 of 4514 relevant lines covered (94.82%)

1.05 hits per line

Source Files on job 1675.4 (RUN="make test-unit test-examples lint coveralls")
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1675
  • Travis Job 1675.4
  • 81583775 on github
  • Prev Job for RUN="make test-unit test-examples lint coveralls" on dev (#1662.7)
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