Removed debug stuff

This commit is contained in:
Derek Collison
2013-07-28 09:36:30 -07:00
parent dd99fd12ab
commit 5ab044e2c8
2 changed files with 2 additions and 5 deletions

View File

@@ -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

View File

@@ -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)
}