From 35157659a3c7c4504daf64bd54b3854e9630f787 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Wed, 15 Oct 2014 18:23:21 -0700 Subject: [PATCH] agent: fix failing monitor test --- command/agent/rpc_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/rpc_client_test.go b/command/agent/rpc_client_test.go index 1ced706afe..4e6f092521 100644 --- a/command/agent/rpc_client_test.go +++ b/command/agent/rpc_client_test.go @@ -237,9 +237,9 @@ OUTER1: case e := <-eventCh: if strings.Contains(e, "Accepted client") { found = true + break OUTER1 } default: - break OUTER1 } } if !found {