mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Removed debug stuff
This commit is contained in:
@@ -298,10 +298,6 @@ func (s *Server) checkRouterAuth(c *client) bool {
|
||||
if !s.routeInfo.AuthRequired {
|
||||
return true
|
||||
}
|
||||
|
||||
fmt.Printf("s.opts: %+v\n", s.opts)
|
||||
fmt.Printf("c.opts: %+v\n", c.opts)
|
||||
|
||||
if s.opts.ClusterUsername != c.opts.Username ||
|
||||
s.opts.ClusterPassword != c.opts.Password {
|
||||
return false
|
||||
|
||||
@@ -145,7 +145,8 @@ func TestSendRouteSolicit(t *testing.T) {
|
||||
// We should receive a connect message right away due to auth.
|
||||
buf := expectResult(t, conn, connectRe)
|
||||
|
||||
// Check INFO follows.
|
||||
// Check INFO follows. Could be inline, with first result, if not
|
||||
// check again.
|
||||
if !inlineInfoRe.Match(buf) {
|
||||
expectResult(t, conn, infoRe)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user