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

uber / ringpop-go / 1640
95%

Build:
DEFAULT BRANCH: dev
Ran 14 Sep 2016 02:33PM UTC
Jobs 3
Files 40
Run time 6min
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
1640

push

travis-ci

web-flow
Fix: Race conditions (#178)

* Lets fail CI without races passing

* do not return the pointer of the internal Member object from the Exported Member methode on Node

* fix races around stats measurement

* Extract all event emitting logic to the events package and embed an EventEmitter in applicable structs

* Update mocks

* Fix flappy forwarding test during race detector

* Fix race on writing clock.

* copy member instead of passing internal pointer around for MemberAt

* ignore test for now, has 3 races, needs review what is being tested

* replace timebased deadline with count based deadline in waitForPartitionHeal

* fix two flappy tests due to incarnation number mismatches

* reset the logger to nil (NoLogger) after every test

* set timeout to negative value to always time out.

* solve race when sending the membership as changes

* Fix race in RandomPingableMembers

* Fix TestFilterChangesFromSender due to wrong use of incarnation causing race

* add tests for event registrar and emitter.

* rework ListenerFunc to be a struct

* refactor waitForConvergence to limit number of iterations instead of time.

* rename utils file for tests to exclude it from compiling

* upgrade tchannel-go version

* move ListenerFunc to _test.go file to exclude form export

* Rephrase documentation for DeregisterListener to be better understandable.

* reserve capacity before copying old listeners

* initialize listeners list with correct size on DeregisterListener

* explain why events.EventRegistar is not embedded in the ringpop interface.

* Correct naming of Emitter in favor of Registar

* Use readlock when reading dummyStats value

* move test utilities to _test.go file to exclude them from the public interface

* Enable last test without race conditions.

* Remove race causing flappy test when validating events are propagated.

* Remove unused dummy listener

* rework the background execution o... (continued)

100 of 100 new or added lines in 6 files covered. (100.0%)

4098 of 4314 relevant lines covered (94.99%)

3.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
logging/facility.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
ringpop.go
2
100.0
swim/ping_request_sender.go
Jobs
ID Job ID Ran Files Coverage
1 1640.1 (RUN="make test-unit test-examples lint coveralls") 14 Sep 2016 02:33PM UTC 0
94.81
Travis Job 1640.1
4 1640.4 (RUN="make test-unit test-examples lint coveralls") 14 Sep 2016 02:37PM UTC 0
94.99
Travis Job 1640.4
7 1640.7 (RUN="make test-unit test-examples lint coveralls") 14 Sep 2016 02:39PM UTC 0
94.99
Travis Job 1640.7
Source Files on build 1640
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1640
  • 2dbc06ff on github
  • Prev Build on dev (#1633)
  • Next Build on dev (#1662)
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