From 3d712feba40081d65eaa7d2e811948d3ff4b5aa2 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Wed, 15 Oct 2014 15:03:43 -0700 Subject: [PATCH] agent: fix failing test --- command/agent/agent_endpoint_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent_endpoint_test.go b/command/agent/agent_endpoint_test.go index 73682a9cc..798fd4a1d 100644 --- a/command/agent/agent_endpoint_test.go +++ b/command/agent/agent_endpoint_test.go @@ -31,7 +31,7 @@ func TestHTTPAgentServices(t *testing.T) { t.Fatalf("Err: %v", err) } val := obj.(map[string]*structs.NodeService) - if len(val) != 1 { + if len(val) != 2 { t.Fatalf("bad services: %v", obj) } if val["mysql"].Port != 5000 {