diff --git a/command/agent/agent_endpoint_test.go b/command/agent/agent_endpoint_test.go index 73682a9cc4..798fd4a1db 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 {