From 5ab044e2c8f4e788cf049667581625a2bb5ed41c Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Sun, 28 Jul 2013 09:36:30 -0700 Subject: [PATCH] Removed debug stuff --- server/server.go | 4 ---- test/routes_test.go | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) 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) }