Skip to content

Commit

Permalink
Merge pull request #376 from uber/testutils
Browse files Browse the repository at this point in the history
testutils: Fix for relay logs not showing up
  • Loading branch information
prashantv committed May 24, 2016
2 parents e9a71a4 + 74de2fd commit 090c354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testutils/test_server.go
Expand Up @@ -197,7 +197,7 @@ func (ts *TestServer) addRelay(logOpts LogVerification) {
ChannelOptions: tchannel.ChannelOptions{RelayHosts: ts.relayHosts},
LogVerification: logOpts,
}
ts.addChannel(NewServer, opts)
ts.addChannel(newServer, opts)
ts.relayIdx = len(ts.channels) - 1
}

Expand Down Expand Up @@ -268,7 +268,7 @@ func (ts *TestServer) waitForChannelClose(ch *tchannel.Channel) {

// Channel is not closing, fail the test.
sinceStart := time.Since(started)
ts.Errorf("Channel did not close after %v, last state: %v", sinceStart, state)
ts.Errorf("Channel %p did not close after %v, last state: %v", ch, sinceStart, state)
}

func (ts *TestServer) verifyNoStateLeak(ch *tchannel.Channel) {
Expand Down

0 comments on commit 090c354

Please sign in to comment.