diff --git a/server/server.go b/server/server.go index faf8e045..bfb73787 100644 --- a/server/server.go +++ b/server/server.go @@ -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 diff --git a/test/routes_test.go b/test/routes_test.go index 829e9b8d..cad55a23 100644 --- a/test/routes_test.go +++ b/test/routes_test.go @@ -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) }