Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into feature/refactor-ident…
Browse files Browse the repository at this point in the history
…ity-option
  • Loading branch information
Menno Pruijssers committed Dec 19, 2016
2 parents 388a5f8 + 3ae6730 commit 21611c5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ addons:
packages:
- python-virtualenv

go_import_path: github.com/uber/ringpop-go

install:
- go get -u github.com/Masterminds/glide
- go get github.com/axw/gocov/gocov
Expand Down
1 change: 1 addition & 0 deletions discovery/jsonfile/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ func TestNiceJSONFile(t *testing.T) {
// Now actually test the DiscoverProvider:Hosts() will return the two
provider := New(tmpfile.Name())
res, err := provider.Hosts()
assert.NoError(t, err, "hosts call failed")
assert.Equal(t, []string{"127.0.0.1:3000", "127.0.0.1:3042"}, res)
}
2 changes: 2 additions & 0 deletions forward/forwarder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func (s *ForwarderTestSuite) TestForwardThrift() {
var response pingpong.PingPongPingResult

err = DeserializeThrift(res, &response)
s.NoError(err)

s.Equal("correct pinging host", response.Success.Source)
}
Expand All @@ -211,6 +212,7 @@ func (s *ForwarderTestSuite) TestForwardThriftErrorResponse() {
var response pingpong.PingPongPingResult

err = DeserializeThrift(res, &response)
s.NoError(err)

s.NotNil(response.PingError, "expected a pingerror")
}
Expand Down
4 changes: 3 additions & 1 deletion swim/ping_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ func TestIndirectPing2(t *testing.T) {
cont := make(chan bool, 1)

tnodes := genChannelNodes(t, 4)
defer destroyNodes(tnodes...)
defer func() {
destroyNodes(tnodes...)
}()

// don't bootstrap the target
sender, helper1, helper2, target := tnodes[0], tnodes[1], tnodes[2], tnodes[3]
Expand Down

0 comments on commit 21611c5

Please sign in to comment.