Skip to content

Commit

Permalink
Fixing sporadic failures in TestTCPRunSuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Bourne committed Feb 13, 2017
1 parent c9774a4 commit 99ea03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion check/check_tcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ func TestTCPRunSuccess(t *testing.T) {
}

// Shutdown server
listener.Close()
server.Stop()
listener.Close()

// Validate Metrics
if crs.Status != "success" {
Expand Down
2 changes: 1 addition & 1 deletion utils/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (s *BannerServer) Serve(listener net.Listener) {
}
log.WithField("err", err).Fatal("Unexpected error")
}
//log.Debug(conn.RemoteAddr(), "connected")
log.WithField("remoteAddr", conn.RemoteAddr()).Debug("accepted")
s.waitGroup.Add(1)
go s.serve(conn)
}
Expand Down

0 comments on commit 99ea03e

Please sign in to comment.